Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gre.u|gre.t|gre.y|greHys.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gre.u|gre.t|gre.y|greHys.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008806/0.008807, allocations: 100.7 kB / 15.73 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001637/0.001637, allocations: 198.5 kB / 16.68 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.739/2.739, allocations: 461.9 MB / 0.7348 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 63.91 kB / 1.054 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.011/1.012, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.002188/1.015, allocations: 0.8188 MB / 1.209 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001129/1.016, allocations: 0.8702 MB / 1.209 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.558e-05/1.016, allocations: 7.938 kB / 1.209 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.000147/1.016, allocations: 7.875 kB / 1.209 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.431e-05/1.016, allocations: 11.88 kB / 1.209 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001843/1.016, allocations: 27.91 kB / 1.209 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001471/1.016, allocations: 71.78 kB / 1.21 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001449/1.016, allocations: 35.97 kB / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.565e-05/1.017, allocations: 27.92 kB / 1.21 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 9.471e-05/1.017, allocations: 35.78 kB / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.112e-05/1.017, allocations: 4 kB / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.516e-05/1.017, allocations: 11.94 kB / 1.21 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.176e-05/1.017, allocations: 7.984 kB / 1.21 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.576e-05/1.017, allocations: 35.8 kB / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001276/1.017, allocations: 71.69 kB / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/1.017, allocations: 0 / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.864e-06/1.017, allocations: 0 / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.71e-06/1.017, allocations: 4 kB / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006132/1.018, allocations: 396.8 kB / 1.21 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/1.018, allocations: 8.031 kB / 1.21 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.119e-05/1.018, allocations: 8.844 kB / 1.21 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002558/1.018, allocations: 196.1 kB / 1.21 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/1.018, allocations: 12.31 kB / 1.21 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.423e-05/1.018, allocations: 12.31 kB / 1.21 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/1.018, allocations: 70.2 kB / 1.21 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/1.018, allocations: 192 / 1.21 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.776e-05/1.018, allocations: 3.938 kB / 1.21 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/1.018, allocations: 0 / 1.21 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001154/1.018, allocations: 31.98 kB / 1.21 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005297/1.019, allocations: 316.7 kB / 1.211 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001612/1.019, allocations: 46.66 kB / 1.211 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.812e-05/1.019, allocations: 24.94 kB / 1.211 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/1.019, allocations: 0 / 1.211 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/1.019, allocations: 30.56 kB / 1.211 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 9.11e-07/1.019, allocations: 4 kB / 1.211 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.000256/1.019, allocations: 69.58 kB / 1.211 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/1.019, allocations: 55.41 kB / 1.211 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/1.02, allocations: 135.8 kB / 1.211 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/1.02, allocations: 29.7 kB / 1.211 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.055e-05/1.02, allocations: 96.12 kB / 1.211 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.602e-05/1.02, allocations: 7.906 kB / 1.211 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.458e-05/1.02, allocations: 21.7 kB / 1.211 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001129/1.02, allocations: 326.7 kB / 1.212 GB, free: 9.496 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.199e-05/1.02, allocations: 19.92 kB / 1.212 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.365e-05/1.02, allocations: 15.98 kB / 1.212 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.143e-05/1.02, allocations: 28.84 kB / 1.212 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/1.02, allocations: 0 / 1.212 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001297/1.02, allocations: 65.59 kB / 1.212 GB, free: 9.359 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/1.02, allocations: 8 kB / 1.212 GB, free: 9.352 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/1.02, allocations: 4 kB / 1.212 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/1.02, allocations: 0 / 1.212 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.756e-05/1.02, allocations: 7.984 kB / 1.212 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/1.02, allocations: 3.938 kB / 1.212 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.011e-05/1.02, allocations: 11.92 kB / 1.212 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/1.02, allocations: 4 kB / 1.212 GB, free: 9.32 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (greHys.greHys.y,$PRE.greHys.greHys.y,gre.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.357e-05/1.021, allocations: 117.8 kB / 1.212 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.611e-05/1.021, allocations: 3.906 kB / 1.212 GB, free: 9.191 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.549e-05/1.021, allocations: 16.25 kB / 1.212 GB, free: 9.168 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.287e-06/1.021, allocations: 3.984 kB / 1.212 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/1.021, allocations: 3.938 kB / 1.212 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-06/1.021, allocations: 0 / 1.212 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001904/1.021, allocations: 185.6 kB / 1.212 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/1.021, allocations: 4.328 kB / 1.212 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.525e-05/1.021, allocations: 0 / 1.212 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/1.021, allocations: 4 kB / 1.212 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/1.021, allocations: 0 / 1.212 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/1.021, allocations: 0 / 1.212 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/1.021, allocations: 4 kB / 1.212 GB, free: 8.918 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000192/1.021, allocations: 167.3 kB / 1.212 GB, free: 8.738 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.926e-05/1.021, allocations: 89 kB / 1.212 GB, free: 8.633 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.764e-05/1.021, allocations: 4 kB / 1.212 GB, free: 8.629 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.958e-05/1.021, allocations: 7.984 kB / 1.212 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.897e-05/1.021, allocations: 7.984 kB / 1.212 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-06/1.021, allocations: 0 / 1.212 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.526e-05/1.021, allocations: 109 kB / 1.212 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.31e-07/1.021, allocations: 0 / 1.212 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002143/1.022, allocations: 11.94 kB / 1.212 GB, free: 8.496 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (gre.y,greHys.greHys.y) * Number of discrete states: 1 (greHys.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001658/1.022, allocations: 103.2 kB / 1.213 GB, free: 8.387 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001899/1.022, allocations: 39.91 kB / 1.213 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/1.022, allocations: 0 / 1.213 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 5.919e-05/1.022, allocations: 19.92 kB / 1.213 GB, free: 8.328 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002647/1.022, allocations: 8 kB / 1.213 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000398/1.023, allocations: 178.4 kB / 1.213 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002732/1.023, allocations: 0.6924 MB / 1.213 GB, free: 7.398 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.784e-05/1.023, allocations: 4 kB / 1.213 GB, free: 7.395 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.569e-05/1.023, allocations: 11.44 kB / 1.213 GB, free: 7.383 MB / 0.9356 GB Notification: Performance of SimCode: time 2.91e-07/1.023, allocations: 0 / 1.213 GB, free: 7.383 MB / 0.9356 GB Notification: Performance of Templates: time 0.003426/1.027, allocations: 0.879 MB / 1.214 GB, free: 6.512 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches