Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Logical.Validation.Timer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed|thrTim1.u|thrTim1.y|thrTim1.t|thrTim1.passed",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed|thrTim1.u|thrTim1.y|thrTim1.t|thrTim1.passed",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001673/0.001673, allocations: 111.9 kB / 16.42 MB, free: 6.512 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.001623/0.001623, allocations: 190.7 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.404/1.404, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.296/2.296, allocations: 390.2 MB / 0.6655 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001692/0.001692, allocations: 63.91 kB / 0.9516 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9685/0.9702, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001934/0.9722, allocations: 0.7374 MB / 1.089 GB, free: 5.051 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001554/0.9738, allocations: 1.265 MB / 1.091 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.363e-05/0.9739, allocations: 1.156 kB / 1.091 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.5e-05/0.9739, allocations: 5.062 kB / 1.091 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.215e-05/0.974, allocations: 25.48 kB / 1.091 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007429/0.9748, allocations: 249.8 kB / 1.091 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003572/0.9751, allocations: 266 kB / 1.091 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.9753, allocations: 20.75 kB / 1.091 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001459/0.9754, allocations: 94.81 kB / 1.091 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002042/0.9756, allocations: 100.6 kB / 1.091 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.506e-05/0.9757, allocations: 22.94 kB / 1.091 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000107/0.9758, allocations: 41.36 kB / 1.091 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.616e-05/0.9759, allocations: 30.41 kB / 1.091 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000141/0.976, allocations: 91.08 kB / 1.092 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003411/0.9763, allocations: 221.4 kB / 1.092 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.9764, allocations: 4.875 kB / 1.092 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.363e-06/0.9764, allocations: 0 / 1.092 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.209e-05/0.9764, allocations: 0.8438 kB / 1.092 GB, free: 3.637 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007299/0.9771, allocations: 0.4894 MB / 1.092 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.338e-05/0.9772, allocations: 13.53 kB / 1.092 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.917e-05/0.9773, allocations: 18.38 kB / 1.092 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006118/0.9779, allocations: 245.4 kB / 1.092 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.141e-05/0.978, allocations: 14.92 kB / 1.092 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.513e-05/0.978, allocations: 23.2 kB / 1.092 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002933/0.9783, allocations: 139.9 kB / 1.093 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.9784, allocations: 8.844 kB / 1.093 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.596e-05/0.9784, allocations: 3.812 kB / 1.093 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.9784, allocations: 1.906 kB / 1.093 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001689/0.9786, allocations: 59.25 kB / 1.093 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009646/0.9795, allocations: 0.5157 MB / 1.093 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003342/0.9799, allocations: 154.7 kB / 1.093 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001309/0.98, allocations: 65.19 kB / 1.093 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/0.9801, allocations: 1.969 kB / 1.093 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005498/0.9806, allocations: 212 kB / 1.094 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=22): time 1.673e-06/0.9806, allocations: 0 / 1.094 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of matching and sorting (n=22): time 0.0007673/0.9814, allocations: 310.4 kB / 1.094 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.014e-05/0.9815, allocations: 87.5 kB / 1.094 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001232/0.9816, allocations: 136.2 kB / 1.094 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.924e-05/0.9816, allocations: 37.53 kB / 1.094 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.284e-05/0.9817, allocations: 96.95 kB / 1.094 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.43e-05/0.9818, allocations: 51.34 kB / 1.094 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001654/0.982, allocations: 78.12 kB / 1.094 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.408e-05/0.9821, allocations: 327.4 kB / 1.095 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002183/0.9823, allocations: 82.78 kB / 1.095 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002498/0.9825, allocations: 155.1 kB / 1.095 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003298/0.9829, allocations: 252 kB / 1.095 GB, free: 1 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.9829, allocations: 0.9375 kB / 1.095 GB, free: 1 MB / 0.8575 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000599/0.9835, allocations: 360.2 kB / 1.096 GB, free: 0.8125 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.64e-05/0.9835, allocations: 67.47 kB / 1.096 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.9836, allocations: 2.719 kB / 1.096 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.9836, allocations: 3.094 kB / 1.096 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.9837, allocations: 23.33 kB / 1.096 GB, free: 0.7383 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.691e-05/0.9837, allocations: 11.28 kB / 1.096 GB, free: 0.7305 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003847/0.9841, allocations: 65.61 kB / 1.096 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.927e-05/0.9842, allocations: 24.33 kB / 1.096 GB, free: 0.7109 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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.0001295/0.9843, allocations: 137.6 kB / 1.096 GB, free: 0.582 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.324e-05/0.9843, allocations: 18.19 kB / 1.096 GB, free: 0.5742 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.048e-05/0.9844, allocations: 15.64 kB / 1.096 GB, free: 0.5625 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.9844, allocations: 5.5 kB / 1.096 GB, free: 0.5586 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.9844, allocations: 0.875 kB / 1.096 GB, free: 0.5586 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.382e-05/0.9844, allocations: 93.06 kB / 1.096 GB, free: 464 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.94e-05/0.9845, allocations: 14.59 kB / 1.096 GB, free: 456 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.886e-05/0.9846, allocations: 13.83 kB / 1.096 GB, free: 452 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.711e-05/0.9847, allocations: 26.48 kB / 1.096 GB, free: 444 kB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005506/0.9852, allocations: 411 kB / 1.096 GB, free: 188 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006351/0.9859, allocations: 0.4952 MB / 1.097 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002175/0.9861, allocations: 112.4 kB / 1.097 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 7.401e-05/0.9862, allocations: 96.81 kB / 1.097 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of Backend: time 7.81e-07/0.9862, allocations: 1.219 kB / 1.097 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0009735/0.9872, allocations: 369.7 kB / 1.097 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of SimCode: time 0.0007092/0.9879, allocations: 0.6729 MB / 1.098 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of Templates: time 0.007594/0.9955, allocations: 2.824 MB / 1.101 GB, free: 14.57 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Timer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches