Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.TimerWithReset.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.Templates.Plants.Controls.Utilities.Validation.TimerWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|noThr.u|res.y|noThr.t|noThr.y|noThrRes.y|noThr.passed|noThrRes.passed|thrTim.u|thrTim.t|thrTim.y|thrTimRes.y|thrTim.passed|thrTimRes.passed|thrTim1.u|thrTim1.t|thrTim1.y|thrTim1Res.y|thrTim1.passed|thrTim1Res.passed",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.TimerWithReset") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.TimerWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|noThr.u|res.y|noThr.t|noThr.y|noThrRes.y|noThr.passed|noThrRes.passed|thrTim.u|thrTim.t|thrTim.y|thrTimRes.y|thrTim.passed|thrTimRes.passed|thrTim1.u|thrTim1.t|thrTim1.y|thrTim1Res.y|thrTim1.passed|thrTim1Res.passed",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.TimerWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 110.7 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.0012/0.0012, allocations: 189.5 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.308/1.308, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.584/2.584, allocations: 461.9 MB / 0.7355 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 63.91 kB / 1.055 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7082/0.7095, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.TimerWithReset): time 0.00318/0.7127, allocations: 2.357 MB / 1.211 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001755/0.7145, allocations: 1.149 MB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000144/0.7147, allocations: 11.94 kB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001696/0.7149, allocations: 59.28 kB / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001192/0.715, allocations: 67.25 kB / 1.212 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001094/0.7161, allocations: 0.5528 MB / 1.213 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0008393/0.7169, allocations: 1.022 MB / 1.214 GB, free: 8.414 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005895/0.7175, allocations: 0.5482 MB / 1.214 GB, free: 7.859 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003048/0.7178, allocations: 371 kB / 1.214 GB, free: 7.496 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003688/0.7182, allocations: 370.6 kB / 1.215 GB, free: 7.133 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001337/0.7184, allocations: 100 kB / 1.215 GB, free: 7.035 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000192/0.7186, allocations: 124 kB / 1.215 GB, free: 6.914 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001563/0.7187, allocations: 215.4 kB / 1.215 GB, free: 6.703 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003136/0.719, allocations: 394.5 kB / 1.216 GB, free: 6.316 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0008253/0.7199, allocations: 1.045 MB / 1.217 GB, free: 5.273 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.7199, allocations: 3.984 kB / 1.217 GB, free: 5.27 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7199, allocations: 0 / 1.217 GB, free: 5.27 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.135e-05/0.7199, allocations: 0 / 1.217 GB, free: 5.27 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.00155/0.7215, allocations: 0.9969 MB / 1.218 GB, free: 4.199 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.7215, allocations: 16.03 kB / 1.218 GB, free: 4.184 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001688/0.7217, allocations: 80.2 kB / 1.218 GB, free: 4.105 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009659/0.7227, allocations: 476.5 kB / 1.218 GB, free: 3.602 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.679e-05/0.7227, allocations: 65.66 kB / 1.218 GB, free: 3.539 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001342/0.7229, allocations: 100.3 kB / 1.218 GB, free: 3.441 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001196/0.7241, allocations: 0.7903 MB / 1.219 GB, free: 2.602 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/0.7241, allocations: 3.938 kB / 1.219 GB, free: 2.598 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.342e-05/0.7242, allocations: 35.97 kB / 1.219 GB, free: 2.562 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/0.7242, allocations: 12 kB / 1.219 GB, free: 2.551 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008567/0.7251, allocations: 0.5086 MB / 1.22 GB, free: 2.043 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002963/0.728, allocations: 2.721 MB / 1.222 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001036/0.7291, allocations: 0.7315 MB / 1.223 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004629/0.7296, allocations: 329.5 kB / 1.223 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.241e-05/0.7296, allocations: 12.42 kB / 1.223 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000856/0.7305, allocations: 0.5935 MB / 1.224 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=81): time 2.344e-06/0.7305, allocations: 3.938 kB / 1.224 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of matching and sorting (n=81): time 0.00178/0.7323, allocations: 1.114 MB / 1.225 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.965e-05/0.7324, allocations: 183.4 kB / 1.225 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002575/0.7326, allocations: 302.1 kB / 1.225 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 9.971e-05/0.7327, allocations: 73.69 kB / 1.225 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001574/0.7329, allocations: 237 kB / 1.226 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001456/0.7331, allocations: 197.5 kB / 1.226 GB, free: 11.31 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002813/0.7333, allocations: 234.8 kB / 1.226 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.7335, allocations: 370.7 kB / 1.226 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004908/0.734, allocations: 262.5 kB / 1.227 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000623/0.7346, allocations: 0.5373 MB / 1.227 GB, free: 9.797 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009023/0.7355, allocations: 0.7516 MB / 1.228 GB, free: 8.918 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.373e-06/0.7355, allocations: 4 kB / 1.228 GB, free: 8.914 MB / 0.9512 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.001418/0.737, allocations: 0.9396 MB / 1.229 GB, free: 7.953 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 5.262e-05/0.737, allocations: 67.39 kB / 1.229 GB, free: 7.875 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.737, allocations: 8 kB / 1.229 GB, free: 7.867 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.288e-05/0.7371, allocations: 16 kB / 1.229 GB, free: 7.852 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003454/0.7374, allocations: 103.7 kB / 1.229 GB, free: 7.75 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.532e-05/0.7374, allocations: 23.92 kB / 1.229 GB, free: 7.727 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006021/0.7381, allocations: 131.5 kB / 1.229 GB, free: 7.598 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.038e-05/0.7381, allocations: 51.98 kB / 1.229 GB, free: 7.547 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 108 ($PRE.res.onDel1.u,$PRE.res.onDel2.u,$PRE.res.toTrue.enableFire,$PRE.res.toFalse.enableFire,$PRE.res.toTrue1.enableFire,$PRE.res.toFalse1.enableFire,thrTim1Res.passed,$PRE.thrTim1Res.passed,thrTimRes.passed,$PRE.thrTimRes.passed,noThrRes.passed,$PRE.noThrRes.passed,thrTim1.passed,$PRE.thrTim1.passed,thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$PRE.res.onDel2.t_next,$whenCondition22,$PRE.res.onDel1.t_next,$whenCondition19,$whenCondition11,$whenCondition12,$whenCondition9,$whenCondition10,$whenCondition3,res.onDel2.t_next,res.toFalse1.enableFire,res.toTrue1.enableFire,res.initialStep.oldActive,$PRE.res.initialStep.oldActive,res.initialStep.newActive,$PRE.res.initialStep.newActive,res.initialStep.outPort[2].available,res.initialStep.localActive,$PRE.res.initialStep.localActive,res.initialStep.active,res.toFalse.enableFire,res.toFalse.localCondition,res.outputTrue.active,res.outputTrue.oldActive,$PRE.res.outputTrue.oldActive,res.outputTrue.newActive,$PRE.res.outputTrue.newActive,res.outputTrue.inPort[2].occupied,res.outputTrue.localActive,$PRE.res.outputTrue.localActive,res.toTrue.enableFire,res.toTrue.localCondition,res.outputFalse.active,res.outputFalse.oldActive,$PRE.res.outputFalse.oldActive,res.outputFalse.newActive,$PRE.res.outputFalse.newActive,res.outputFalse.inPort[2].occupied,res.outputFalse.localActive,$PRE.res.outputFalse.localActive,res.stateGraphRoot.activeSteps,res.onDel2.y,res.onDel2.u,res.onDel1.y,res.onDel1.u,res.u,thrTim1Res.entryTime,$PRE.thrTim1Res.entryTime,thrTimRes.entryTime,$PRE.thrTimRes.entryTime,noThrRes.entryTime,$PRE.noThrRes.entryTime,booPul1.y,$PRE.booPul1.y,booPul.y,$PRE.booPul.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition4,$whenCondition2,$whenCondition1,$whenCondition5,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition16,$whenCondition18,$whenCondition17,$whenCondition21,$whenCondition20,$whenCondition24,$whenCondition23,res.onDel1.t_next,res.toTrue.t_start,$PRE.res.toTrue.t_start,res.toFalse.t_start,$PRE.res.toFalse.t_start,res.toTrue1.t_start,$PRE.res.toTrue1.t_start,res.toFalse1.t_start,$PRE.res.toFalse1.t_start,res.stateGraphRoot.resume,res.stateGraphRoot.suspend) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (130): * Single equations (assignments): 128 * 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.0003214/0.7385, allocations: 296 kB / 1.23 GB, free: 7.242 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.203e-05/0.7386, allocations: 55.42 kB / 1.23 GB, free: 7.188 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001323/0.7399, allocations: 0.8775 MB / 1.23 GB, free: 6.305 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.197e-05/0.7399, allocations: 7.984 kB / 1.23 GB, free: 6.297 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.7399, allocations: 0 / 1.23 GB, free: 6.297 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.095e-05/0.74, allocations: 128.4 kB / 1.231 GB, free: 6.152 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/0.7401, allocations: 35.92 kB / 1.231 GB, free: 6.117 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002277/0.7403, allocations: 35.95 kB / 1.231 GB, free: 6.082 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001702/0.7405, allocations: 100.5 kB / 1.231 GB, free: 5.984 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00153/0.7421, allocations: 1.291 MB / 1.232 GB, free: 4.688 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001394/0.7435, allocations: 1.362 MB / 1.233 GB, free: 3.297 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005524/0.744, allocations: 461 kB / 1.234 GB, free: 2.852 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001328/0.7442, allocations: 174 kB / 1.234 GB, free: 2.684 MB / 0.9512 GB Notification: Performance of Backend: time 6.01e-07/0.7442, allocations: 0 / 1.234 GB, free: 2.684 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.00156/0.7457, allocations: 0.7216 MB / 1.235 GB, free: 1.926 MB / 0.9512 GB Notification: Performance of SimCode: time 0.00136/0.7471, allocations: 1.243 MB / 1.236 GB, free: 0.6328 MB / 0.9512 GB Notification: Performance of Templates: time 0.01324/0.7604, allocations: 8.122 MB / 1.244 GB, free: 8.551 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.TimerWithReset.makefile (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.TimerWithReset.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.TimerWithReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.TimerWithReset.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.TimerWithReset.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.TimerWithReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.TimerWithReset.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.TimerWithReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_TimerWithReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.TimerWithReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,noThr.u,res.y,noThr.t,noThr.y,noThrRes.y,noThr.passed,noThrRes.passed,thrTim.u,thrTim.t,thrTim.y,thrTimRes.y,thrTim.passed,thrTimRes.passed,thrTim1.u,thrTim1.t,thrTim1.y,thrTim1Res.y,thrTim1.passed,thrTim1Res.passed Variables in the result:$cse1,booPul.period,booPul.shift,booPul.t0,booPul.t1,booPul.width,booPul.y,booPul1.period,booPul1.shift,booPul1.t0,booPul1.t1,booPul1.width,booPul1.y,con.k,con.y,noThr.passed,noThr.reset,noThr.t,noThr.u,noThr.y,noThrRes.passed,noThrRes.t,noThrRes.y,res.falseHoldDuration,res.initialStep.nIn,res.initialStep.nOut,res.onDel1.delayOnInit,res.onDel1.delayTime,res.onDel1.t_past,res.onDel2.delayOnInit,res.onDel2.delayTime,res.onDel2.t_past,res.outputFalse.nIn,res.outputFalse.nOut,res.outputTrue.localActive,res.outputTrue.nIn,res.outputTrue.nOut,res.toFalse.enableTimer,res.toFalse.waitTime,res.toFalse1.enableTimer,res.toFalse1.waitTime,res.toTrue.enableTimer,res.toTrue.waitTime,res.toTrue1.enableTimer,res.toTrue1.waitTime,res.trueHoldDuration,res.y,samTri.period,samTri.shift,samTri.t0,thrTim.passed,thrTim.reset,thrTim.t,thrTim.u,thrTim.y,thrTim1.passed,thrTim1.reset,thrTim1.t,thrTim1.u,thrTim1.y,thrTim1Res.passed,thrTim1Res.t,thrTim1Res.y,thrTimRes.passed,thrTimRes.t,thrTimRes.y,time