Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|les.u|les.t|les.y|lesHys.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|les.u|les.t|les.y|lesHys.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001555/0.001555, allocations: 121.9 kB / 16.82 MB, free: 5.754 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.001546/0.001546, allocations: 196.7 kB / 17.77 MB, free: 5.125 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.692/1.692, allocations: 225.6 MB / 244.2 MB, free: 13.89 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.039/3.039, allocations: 476.7 MB / 0.7556 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 70.91 kB / 1.097 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3412/0.3433, allocations: 168.7 MB / 1.262 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.002178/0.3454, allocations: 0.8297 MB / 1.263 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001127/0.3466, allocations: 0.8701 MB / 1.264 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.578e-05/0.3467, allocations: 4 kB / 1.264 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000134/0.3468, allocations: 7.875 kB / 1.264 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.738e-05/0.3468, allocations: 19.86 kB / 1.264 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001905/0.347, allocations: 23.92 kB / 1.264 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001513/0.3472, allocations: 79.75 kB / 1.264 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.3473, allocations: 19.98 kB / 1.264 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.121e-05/0.3474, allocations: 31.86 kB / 1.264 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.928e-05/0.3475, allocations: 31.8 kB / 1.264 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.059e-05/0.3475, allocations: 4 kB / 1.264 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.455e-05/0.3475, allocations: 4 kB / 1.264 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.934e-05/0.3475, allocations: 19.97 kB / 1.264 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.212e-05/0.3476, allocations: 23.81 kB / 1.264 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001448/0.3477, allocations: 83.61 kB / 1.264 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.3477, allocations: 0 / 1.264 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.313e-06/0.3477, allocations: 0 / 1.264 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.448e-06/0.3477, allocations: 4 kB / 1.264 GB, free: 11 MB / 0.9825 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.0006015/0.3483, allocations: 395 kB / 1.264 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.3484, allocations: 8.031 kB / 1.265 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.912e-05/0.3484, allocations: 12.83 kB / 1.265 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002789/0.3487, allocations: 204.2 kB / 1.265 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.3487, allocations: 4.375 kB / 1.265 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.38e-05/0.3487, allocations: 12.31 kB / 1.265 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.3489, allocations: 58.23 kB / 1.265 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.3489, allocations: 192 / 1.265 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.3489, allocations: 7.938 kB / 1.265 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.3489, allocations: 0 / 1.265 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001066/0.349, allocations: 31.92 kB / 1.265 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000518/0.3495, allocations: 324.7 kB / 1.265 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001628/0.3497, allocations: 42.59 kB / 1.265 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.898e-05/0.3498, allocations: 21 kB / 1.265 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.898e-05/0.3498, allocations: 3.984 kB / 1.265 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/0.3498, allocations: 34.56 kB / 1.265 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.3498, allocations: 4 kB / 1.265 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0002691/0.3501, allocations: 77.59 kB / 1.265 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/0.3501, allocations: 51.41 kB / 1.265 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.3502, allocations: 135.7 kB / 1.265 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.3503, allocations: 33.69 kB / 1.266 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.922e-05/0.3503, allocations: 100.1 kB / 1.266 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.101e-05/0.3503, allocations: 11.89 kB / 1.266 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-05/0.3504, allocations: 17.7 kB / 1.266 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.3505, allocations: 322.8 kB / 1.266 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.355e-05/0.3506, allocations: 15.98 kB / 1.266 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.039e-05/0.3506, allocations: 19.98 kB / 1.266 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.687e-05/0.3507, allocations: 28.84 kB / 1.266 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3507, allocations: 0 / 1.266 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001382/0.3509, allocations: 69.58 kB / 1.266 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.3509, allocations: 7.984 kB / 1.266 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.3509, allocations: 4 kB / 1.266 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.3509, allocations: 0 / 1.266 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.828e-05/0.351, allocations: 4 kB / 1.266 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.351, allocations: 0 / 1.266 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.947e-05/0.3511, allocations: 11.98 kB / 1.266 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.3511, allocations: 0 / 1.266 GB, free: 8.746 MB / 0.9825 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 (lesHys.lesHys.y,$PRE.lesHys.lesHys.y,les.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 0.0001007/0.3512, allocations: 118.6 kB / 1.266 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.884e-05/0.3512, allocations: 7.953 kB / 1.266 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.769e-05/0.3512, allocations: 16.23 kB / 1.266 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.3512, allocations: 0 / 1.266 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.3512, allocations: 3.938 kB / 1.266 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.317e-05/0.3513, allocations: 89.06 kB / 1.266 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.178e-05/0.3513, allocations: 3.938 kB / 1.266 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.3514, allocations: 11.98 kB / 1.266 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.114e-05/0.3515, allocations: 11.98 kB / 1.266 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002192/0.3517, allocations: 144.9 kB / 1.266 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002138/0.3519, allocations: 230.8 kB / 1.267 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.889e-05/0.352, allocations: 15.98 kB / 1.267 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.986e-05/0.352, allocations: 108.9 kB / 1.267 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of Backend: time 4.11e-07/0.352, allocations: 0 / 1.267 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004293/0.3525, allocations: 106.8 kB / 1.267 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of SimCode: time 0.0005849/0.3531, allocations: 0.6204 MB / 1.268 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of Templates: time 0.00372/0.3568, allocations: 0.9518 MB / 1.268 GB, free: 6.223 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches