Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001475/0.001476, allocations: 107.6 kB / 17.07 MB, free: 6.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001661/0.001661, allocations: 190.2 kB / 20.02 MB, free: 3.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 222.9 MB / 245.7 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.999/2.999, allocations: 489.3 MB / 0.7687 GB, free: 3.793 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conEquSta.TBoi|conEquSta.onSys|conEquSta.onPum|conEquSta.onBoi",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conEquSta.TBoi|conEquSta.onSys|conEquSta.onPum|conEquSta.onBoi",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001996, allocations: 75.88 kB / 1.103 GB, free: 0.8242 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9536/0.9556, allocations: 163.8 MB / 1.263 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.00199/0.9576, allocations: 0.8088 MB / 1.263 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00132/0.959, allocations: 1.156 MB / 1.264 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.466e-05/0.959, allocations: 0.8125 kB / 1.264 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.246e-05/0.9591, allocations: 9.188 kB / 1.264 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.034e-05/0.9592, allocations: 17.5 kB / 1.264 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004771/0.9597, allocations: 144 kB / 1.265 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002147/0.9599, allocations: 150.2 kB / 1.265 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.96, allocations: 39.34 kB / 1.265 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.9601, allocations: 52 kB / 1.265 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001232/0.9603, allocations: 58.38 kB / 1.265 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.846e-05/0.9603, allocations: 13.97 kB / 1.265 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.08e-05/0.9604, allocations: 36.17 kB / 1.265 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.995e-05/0.9604, allocations: 19.05 kB / 1.265 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 8.292e-05/0.9605, allocations: 57.83 kB / 1.265 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002503/0.9608, allocations: 148.5 kB / 1.265 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.9608, allocations: 4 kB / 1.265 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.663e-06/0.9608, allocations: 0.7188 kB / 1.265 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.533e-06/0.9608, allocations: 0 / 1.265 GB, free: 6.324 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005909/0.9614, allocations: 439.6 kB / 1.266 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.9614, allocations: 9.875 kB / 1.266 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.446e-05/0.9615, allocations: 12.19 kB / 1.266 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.402e-05/0.9616, allocations: 177.9 kB / 1.266 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.881e-05/0.9616, allocations: 8.688 kB / 1.266 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.727e-05/0.9616, allocations: 8.922 kB / 1.266 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002249/0.9619, allocations: 86.33 kB / 1.266 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.9619, allocations: 1.641 kB / 1.266 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.9619, allocations: 4.875 kB / 1.266 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.9619, allocations: 5 kB / 1.266 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002148/0.9621, allocations: 61.52 kB / 1.266 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004958/0.9626, allocations: 378.3 kB / 1.266 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001574/0.9628, allocations: 53.77 kB / 1.266 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.9629, allocations: 28.8 kB / 1.266 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.03e-05/0.9629, allocations: 0.875 kB / 1.266 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002339/0.9632, allocations: 88.88 kB / 1.266 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=6): time 1.452e-06/0.9632, allocations: 0 / 1.266 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6): time 0.0004434/0.9636, allocations: 125.5 kB / 1.267 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.497e-05/0.9637, allocations: 53.84 kB / 1.267 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.645e-05/0.9638, allocations: 128.1 kB / 1.267 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.9638, allocations: 28.55 kB / 1.267 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.872e-05/0.9638, allocations: 103.8 kB / 1.267 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.119e-05/0.9639, allocations: 19.66 kB / 1.267 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.292e-05/0.9639, allocations: 38.2 kB / 1.267 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.461e-05/0.964, allocations: 322.8 kB / 1.267 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001702/0.9642, allocations: 53.12 kB / 1.267 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001727/0.9644, allocations: 77.72 kB / 1.267 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002454/0.9646, allocations: 120.7 kB / 1.268 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.9646, allocations: 7.938 kB / 1.268 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004415/0.9651, allocations: 191.2 kB / 1.268 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.417e-05/0.9651, allocations: 35.17 kB / 1.268 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.9651, allocations: 0.625 kB / 1.268 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.9651, allocations: 1.688 kB / 1.268 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.954e-05/0.9652, allocations: 17.3 kB / 1.268 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.9652, allocations: 1.062 kB / 1.268 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002292/0.9655, allocations: 43.83 kB / 1.268 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.285e-05/0.9655, allocations: 6.672 kB / 1.268 GB, free: 4.16 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,onSys.y,$PRE.onSys.y,conEquSta.hys.y,$PRE.conEquSta.hys.y,conEquSta.onBoi) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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 7.378e-05/0.9656, allocations: 121.7 kB / 1.268 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.578e-05/0.9656, allocations: 7.984 kB / 1.268 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.948e-05/0.9656, allocations: 18.14 kB / 1.268 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.9657, allocations: 0.9375 kB / 1.268 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.9657, allocations: 1.062 kB / 1.268 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.9657, allocations: 4.641 kB / 1.268 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000121/0.9658, allocations: 191.9 kB / 1.268 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.9658, allocations: 3.938 kB / 1.268 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.937e-05/0.9659, allocations: 9.344 kB / 1.268 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.9659, allocations: 0 / 1.268 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.9659, allocations: 1.844 kB / 1.268 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.9659, allocations: 1.062 kB / 1.268 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.9659, allocations: 4.516 kB / 1.268 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002669/0.9662, allocations: 125.8 kB / 1.268 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.089e-05/0.9662, allocations: 87 kB / 1.268 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/0.9662, allocations: 2.453 kB / 1.268 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.062e-05/0.9663, allocations: 9.531 kB / 1.268 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.512e-05/0.9664, allocations: 17.25 kB / 1.268 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/0.9664, allocations: 7.047 kB / 1.268 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.012e-05/0.9664, allocations: 92.22 kB / 1.268 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5.91e-07/0.9664, allocations: 0 / 1.268 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000228/0.9667, allocations: 29.62 kB / 1.269 GB, free: 3.512 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,conEquSta.onBoi,conEquSta.hys.y,onSys.y) * Number of discrete states: 1 (conEquSta.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001144/0.9668, allocations: 103.8 kB / 1.269 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003944/0.9672, allocations: 177.3 kB / 1.269 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.9672, allocations: 0 / 1.269 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00013/0.9673, allocations: 40.61 kB / 1.269 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002037/0.9675, allocations: 12.41 kB / 1.269 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003635/0.9679, allocations: 208.8 kB / 1.269 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001085/0.968, allocations: 0.6953 MB / 1.27 GB, free: 2.426 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.447e-05/0.9681, allocations: 16.81 kB / 1.27 GB, free: 2.414 MB / 0.9981 GB Notification: Performance of SimCode: time 2.31e-07/0.9681, allocations: 0 / 1.27 GB, free: 2.414 MB / 0.9981 GB Notification: Performance of Templates: time 0.003525/0.9716, allocations: 1.345 MB / 1.271 GB, free: 2.305 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & ./Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.304808688117191]