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.00118/0.00118, allocations: 106.4 kB / 16.41 MB, free: 6.508 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.001236/0.001236, allocations: 192.3 kB / 17.35 MB, free: 5.738 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.457/1.457, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.656/2.656, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 67.91 kB / 1.055 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9601/0.9614, 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.002094/0.9636, allocations: 0.8206 MB / 1.209 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001081/0.9647, allocations: 0.8741 MB / 1.21 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001105/0.9648, allocations: 3.938 kB / 1.21 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001327/0.965, allocations: 15.86 kB / 1.21 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.101e-05/0.965, allocations: 11.88 kB / 1.21 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001768/0.9652, allocations: 23.97 kB / 1.21 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001342/0.9653, allocations: 75.72 kB / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/0.9655, allocations: 35.97 kB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.632e-05/0.9656, allocations: 27.86 kB / 1.21 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 8.127e-05/0.9657, allocations: 27.84 kB / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.076e-05/0.9657, allocations: 8 kB / 1.21 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.23e-05/0.9657, allocations: 4 kB / 1.21 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.405e-05/0.9658, allocations: 23.88 kB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.925e-05/0.9658, allocations: 31.78 kB / 1.21 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001293/0.9659, allocations: 75.75 kB / 1.21 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.9659, allocations: 0 / 1.21 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.413e-06/0.966, allocations: 0 / 1.21 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.966, allocations: 0 / 1.21 GB, free: 11.56 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.0005635/0.9665, allocations: 396.7 kB / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.9666, allocations: 8.031 kB / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.509e-05/0.9666, allocations: 12.84 kB / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002697/0.9669, allocations: 200.1 kB / 1.211 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.9669, allocations: 384 / 1.211 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.93e-05/0.967, allocations: 8.375 kB / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001626/0.9671, allocations: 70.09 kB / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.9671, allocations: 192 / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.9672, allocations: 7.938 kB / 1.211 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.9672, allocations: 0 / 1.211 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001109/0.9673, allocations: 39.97 kB / 1.211 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004925/0.9678, allocations: 308.7 kB / 1.211 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001638/0.968, allocations: 50.55 kB / 1.212 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.588e-05/0.968, allocations: 21.02 kB / 1.212 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.9681, allocations: 8.016 kB / 1.212 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.9681, allocations: 30.56 kB / 1.212 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.382e-06/0.9681, allocations: 0 / 1.212 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0002542/0.9684, allocations: 73.58 kB / 1.212 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.61e-05/0.9684, allocations: 51.41 kB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.9685, allocations: 135.8 kB / 1.212 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.21e-05/0.9685, allocations: 37.7 kB / 1.212 GB, free: 9.938 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.763e-05/0.9686, allocations: 96.12 kB / 1.212 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.501e-05/0.9686, allocations: 3.906 kB / 1.212 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.936e-05/0.9687, allocations: 17.72 kB / 1.212 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.9688, allocations: 318.8 kB / 1.212 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.693e-05/0.9688, allocations: 15.98 kB / 1.212 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.028e-05/0.9689, allocations: 23.94 kB / 1.212 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.505e-05/0.969, allocations: 28.84 kB / 1.212 GB, free: 9.422 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.969, allocations: 0 / 1.212 GB, free: 9.422 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001446/0.9691, allocations: 69.58 kB / 1.212 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.9692, allocations: 4 kB / 1.212 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.9692, allocations: 0 / 1.212 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.9692, allocations: 0 / 1.212 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.11e-05/0.9693, allocations: 7.984 kB / 1.212 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.9693, allocations: 0 / 1.212 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.027e-05/0.9694, allocations: 15.92 kB / 1.212 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.044e-06/0.9694, allocations: 7.938 kB / 1.212 GB, free: 9.312 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 9.26e-05/0.9695, allocations: 121.7 kB / 1.213 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.057e-05/0.9695, allocations: 7.906 kB / 1.213 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.7e-05/0.9696, allocations: 8.25 kB / 1.213 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.9696, allocations: 0 / 1.213 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.9696, allocations: 4 kB / 1.213 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.633e-05/0.9696, allocations: 92.94 kB / 1.213 GB, free: 9.047 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.208e-05/0.9697, allocations: 3.938 kB / 1.213 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.9698, allocations: 20.31 kB / 1.213 GB, free: 9.023 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.848e-05/0.9698, allocations: 7.984 kB / 1.213 GB, free: 9.016 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002132/0.9701, allocations: 144.9 kB / 1.213 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002007/0.9703, allocations: 234.7 kB / 1.213 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.762e-05/0.9703, allocations: 15.98 kB / 1.213 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.028e-05/0.9704, allocations: 116.9 kB / 1.213 GB, free: 8.492 MB / 0.9356 GB Notification: Performance of Backend: time 4.41e-07/0.9704, allocations: 0 / 1.213 GB, free: 8.492 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003976/0.9708, allocations: 94.39 kB / 1.213 GB, free: 8.395 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0005677/0.9714, allocations: 0.6128 MB / 1.214 GB, free: 7.73 MB / 0.9356 GB Notification: Performance of Templates: time 0.003398/0.9748, allocations: 0.9502 MB / 1.215 GB, free: 6.789 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/jenkins1/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