Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety.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.001542/0.001542, allocations: 106.6 kB / 18.68 MB, free: 3.168 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.006253/0.006253, allocations: 193.2 kB / 21.92 MB, free: 5.637 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.442/1.442, allocations: 225.6 MB / 250.6 MB, free: 13.41 MB / 206.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 3.097/3.097, allocations: 496.2 MB / 0.7832 GB, free: 33.57 MB / 0.6231 GB " [Timeout remaining time 177] 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.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety,tolerance=1e-08,outputFormat="mat",numberOfIntervals=100,variableFilter="time|ySet|yOut|safCtr.minFlowErr|safCtr.opeEnvErr|safCtr.antFreErr",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety") translateModel(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety,tolerance=1e-08,outputFormat="mat",numberOfIntervals=100,variableFilter="time|ySet|yOut|safCtr.minFlowErr|safCtr.opeEnvErr|safCtr.antFreErr",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003267/0.003267, allocations: 72.31 kB / 1.138 GB, free: 33.95 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3278/0.3311, allocations: 173.7 MB / 1.307 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety): time 0.007861/0.339, allocations: 5.175 MB / 1.312 GB, free: 12.39 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004487/0.3435, allocations: 2.39 MB / 1.314 GB, free: 9.992 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007344/0.3442, allocations: 23.88 kB / 1.315 GB, free: 9.969 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001004/0.3452, allocations: 318.3 kB / 1.315 GB, free: 9.656 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0009793/0.3462, allocations: 413.5 kB / 1.315 GB, free: 9.25 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001522/0.3477, allocations: 0.7286 MB / 1.316 GB, free: 8.523 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002127/0.3498, allocations: 1.9 MB / 1.318 GB, free: 6.621 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00107/0.3509, allocations: 0.6253 MB / 1.318 GB, free: 5.961 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008898/0.3518, allocations: 0.7163 MB / 1.319 GB, free: 5.242 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001082/0.3529, allocations: 0.8441 MB / 1.32 GB, free: 4.395 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.000317/0.3532, allocations: 236 kB / 1.32 GB, free: 4.164 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004168/0.3536, allocations: 276 kB / 1.32 GB, free: 3.895 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0005302/0.3541, allocations: 0.5258 MB / 1.321 GB, free: 3.367 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0008399/0.355, allocations: 0.8553 MB / 1.322 GB, free: 2.508 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003087/0.3581, allocations: 2.857 MB / 1.325 GB, free: 15.64 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.3581, allocations: 8 kB / 1.325 GB, free: 15.63 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.773e-06/0.3581, allocations: 0 / 1.325 GB, free: 15.63 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.946e-05/0.3581, allocations: 3.938 kB / 1.325 GB, free: 15.63 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 277 * Number of variables: 277 Notification: Performance of Generate backend data structure: time 0.004952/0.3631, allocations: 2.268 MB / 1.327 GB, free: 13.25 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.3631, allocations: 11.98 kB / 1.327 GB, free: 13.23 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003385/0.3635, allocations: 195.2 kB / 1.327 GB, free: 13.04 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002202/0.3657, allocations: 1.164 MB / 1.328 GB, free: 11.82 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001169/0.3658, allocations: 98.17 kB / 1.328 GB, free: 11.72 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001887/0.366, allocations: 124 kB / 1.328 GB, free: 11.6 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002739/0.3687, allocations: 1.313 MB / 1.33 GB, free: 10.22 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.432e-05/0.3687, allocations: 3.938 kB / 1.33 GB, free: 10.21 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001304/0.3689, allocations: 55.97 kB / 1.33 GB, free: 10.16 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.999e-05/0.3689, allocations: 35.88 kB / 1.33 GB, free: 10.12 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002638/0.3715, allocations: 0.9689 MB / 1.331 GB, free: 9.148 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006542/0.3781, allocations: 3.53 MB / 1.334 GB, free: 5.551 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002394/0.3805, allocations: 0.8018 MB / 1.335 GB, free: 4.746 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001071/0.3815, allocations: 382.5 kB / 1.335 GB, free: 4.367 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 6.528e-05/0.3816, allocations: 16.81 kB / 1.335 GB, free: 4.352 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001556/0.3832, allocations: 0.6681 MB / 1.336 GB, free: 3.676 MB / 1.029 GB Notification: Performance of pre-optimization done (n=90): time 3.927e-06/0.3832, allocations: 0 / 1.336 GB, free: 3.676 MB / 1.029 GB Notification: Performance of matching and sorting (n=90): time 0.003791/0.3869, allocations: 1.394 MB / 1.337 GB, free: 2.277 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001787/0.3871, allocations: 264.3 kB / 1.337 GB, free: 1.961 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001901/0.389, allocations: 1.238 MB / 1.339 GB, free: 0.7031 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001608/0.3892, allocations: 85.69 kB / 1.339 GB, free: 0.6133 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000642/0.3898, allocations: 0.6224 MB / 1.339 GB, free: 15.98 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002448/0.3901, allocations: 238.2 kB / 1.34 GB, free: 15.75 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004153/0.3905, allocations: 254.9 kB / 1.34 GB, free: 15.49 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001802/0.3907, allocations: 353.9 kB / 1.34 GB, free: 15.14 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001232/0.3919, allocations: 446.3 kB / 1.341 GB, free: 14.7 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001432/0.3933, allocations: 0.666 MB / 1.341 GB, free: 13.95 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002294/0.3956, allocations: 1.041 MB / 1.342 GB, free: 12.8 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.3956, allocations: 0 / 1.342 GB, free: 12.8 MB / 1.045 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.003225/0.3989, allocations: 1.437 MB / 1.344 GB, free: 11.32 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001468/0.399, allocations: 205.8 kB / 1.344 GB, free: 11.08 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.399, allocations: 4 kB / 1.344 GB, free: 11.07 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.632e-05/0.399, allocations: 8 kB / 1.344 GB, free: 11.07 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007181/0.3998, allocations: 168.1 kB / 1.344 GB, free: 10.9 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.021e-05/0.3998, allocations: 19.92 kB / 1.344 GB, free: 10.88 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001151/0.4009, allocations: 191.2 kB / 1.344 GB, free: 10.7 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001008/0.401, allocations: 40 kB / 1.344 GB, free: 10.66 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 115 (safCtr.opeEnv.disErr.y,$PRE.safCtr.opeEnv.disErr.y,safCtr.onOffCtr.onOffFuzLog.devTurOff,$PRE.safCtr.onOffCtr.onOffFuzLog.devTurOff,safCtr.antFre.disErr.y,$PRE.safCtr.antFre.disErr.y,safCtr.minVolFloRatSaf.disErr.y,$PRE.safCtr.minVolFloRatSaf.disErr.y,mEvaEmu_flow.count,$PRE.mEvaEmu_flow.count,mEvaEmu_flow.T_start,$PRE.mEvaEmu_flow.T_start,mConEmu_flow.count,$PRE.mConEmu_flow.count,mConEmu_flow.T_start,$PRE.mConEmu_flow.T_start,TEvaInEmu.count,$PRE.TEvaInEmu.count,TEvaInEmu.T_start,$PRE.TEvaInEmu.T_start,TConOutEmu.count,$PRE.TConOutEmu.count,TConOutEmu.T_start,$PRE.TConOutEmu.T_start,TEvaOutEmu.count,$PRE.TEvaOutEmu.count,TEvaOutEmu.T_start,$PRE.TEvaOutEmu.T_start,TConInEmu.count,$PRE.TConInEmu.count,TConInEmu.T_start,$PRE.TConInEmu.T_start,ySetPul.count,$PRE.ySetPul.count,ySetPul.T_start,$PRE.ySetPul.T_start,safCtr.minVolFloRatSaf.hysEva.y,$PRE.safCtr.minVolFloRatSaf.hysEva.y,safCtr.minVolFloRatSaf.hysCon.y,$PRE.safCtr.minVolFloRatSaf.hysCon.y,safCtr.minVolFloRatSaf.booPasThr.y,safCtr.antFre.hys.y,$PRE.safCtr.antFre.hys.y,safCtr.onOffCtr.onOffFuzLog.devNorOpe,$PRE.safCtr.onOffCtr.onOffFuzLog.devNorOpe,safCtr.onOffCtr.onOffFuzLog.devRunMin,$PRE.safCtr.onOffCtr.onOffFuzLog.devRunMin,safCtr.onOffCtr.onOffFuzLog.staOn,safCtr.onOffCtr.onOffFuzLog.staOff,safCtr.onOffCtr.onOffFuzLog.turOff,$PRE.safCtr.onOffCtr.onOffFuzLog.turOff,safCtr.onOffCtr.onOffFuzLog.turOn,$PRE.safCtr.onOffCtr.onOffFuzLog.turOn,safCtr.onOffCtr.andIsAblToTurOn.y,safCtr.onOffCtr.runTimCtr.runTim.entryTime,$PRE.safCtr.onOffCtr.runTimCtr.runTim.entryTime,safCtr.onOffCtr.notIsOn.y,safCtr.onOffCtr.locTimCtr.runTim.entryTime,$PRE.safCtr.onOffCtr.locTimCtr.runTim.entryTime,safCtr.onOffCtr.locTimCtr.y,safCtr.onOffCtr.cycRatBou.triAdd.y,$PRE.safCtr.onOffCtr.cycRatBou.triAdd.y,safCtr.onOffCtr.cycRatBou.y,safCtr.onOffCtr.preOnOff.u,$PRE.safCtr.onOffCtr.preOnOff.u,safCtr.onOffCtr.isAblToTurOff.y,safCtr.onOffCtr.ySetOn.y,$PRE.safCtr.onOffCtr.ySetOn.y,safCtr.opeEnv.bouMapCoo.hysBou.y,$PRE.safCtr.opeEnv.bouMapCoo.hysBou.y,safCtr.opeEnv.bouMapCoo.hysRig.y,$PRE.safCtr.opeEnv.bouMapCoo.hysRig.y,safCtr.opeEnv.bouMapCoo.hysLef.y,$PRE.safCtr.opeEnv.bouMapCoo.hysLef.y,safCtr.opeEnv.bouMapCoo.noErr,safCtr.opeEnv.bouMapHea.hysBou.y,$PRE.safCtr.opeEnv.bouMapHea.hysBou.y,safCtr.opeEnv.bouMapHea.hysRig.y,$PRE.safCtr.opeEnv.bouMapHea.hysRig.y,safCtr.opeEnv.bouMapHea.hysLef.y,$PRE.safCtr.opeEnv.bouMapHea.hysLef.y,safCtr.opeEnv.booPasThr.y,hys.y,$PRE.hys.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition16,$whenCondition17,$whenCondition18,conHea.y,safCtr.minVolFloRatSaf.intConOne.y,safCtr.minVolFloRatSaf.disErr.local_set,safCtr.minVolFloRatSaf.disErr.local_reset,safCtr.antFre.intConOne.y,safCtr.antFre.disErr.local_set,safCtr.antFre.disErr.local_reset,safCtr.onOffCtr.cycRatBou.intConPluOne.y,safCtr.onOffCtr.cycRatBou.triAdd.local_set,safCtr.onOffCtr.cycRatBou.triAdd.local_reset,safCtr.opeEnv.intConOne.y,safCtr.opeEnv.disErr.local_set,safCtr.opeEnv.disErr.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (143): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 7 * 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.0007588/0.4018, allocations: 457.9 kB / 1.345 GB, free: 10.2 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002149/0.402, allocations: 127.2 kB / 1.345 GB, free: 10.07 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002772/0.4048, allocations: 1.084 MB / 1.346 GB, free: 8.973 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/0.4048, allocations: 7.984 kB / 1.346 GB, free: 8.965 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.4048, allocations: 3.938 kB / 1.346 GB, free: 8.961 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003315/0.4051, allocations: 220.2 kB / 1.346 GB, free: 8.727 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001958/0.4053, allocations: 43.98 kB / 1.346 GB, free: 8.684 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009529/0.4063, allocations: 115.8 kB / 1.346 GB, free: 8.57 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005006/0.4068, allocations: 200.7 kB / 1.346 GB, free: 8.375 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003274/0.4101, allocations: 1.126 MB / 1.348 GB, free: 7.242 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002885/0.4129, allocations: 1.23 MB / 1.349 GB, free: 5.996 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00116/0.4141, allocations: 459.7 kB / 1.349 GB, free: 5.547 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001292/0.4154, allocations: 0.8229 MB / 1.35 GB, free: 4.715 MB / 1.045 GB Notification: Performance of Backend: time 4.91e-07/0.4154, allocations: 0 / 1.35 GB, free: 4.715 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.004/0.4194, allocations: 1.418 MB / 1.351 GB, free: 3.379 MB / 1.045 GB Notification: Performance of SimCode: time 0.004145/0.4235, allocations: 2.548 MB / 1.354 GB, free: 0.7734 MB / 1.045 GB Notification: Performance of Templates: time 0.039/0.4625, allocations: 20.47 MB / 1.374 GB, free: 12.44 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_ModularReversible_Controls_Safety_Examples_Safety.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety.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: 9.328288890013937]