Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.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.001408/0.001408, allocations: 114.8 kB / 18.89 MB, free: 2.898 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.001491/0.001491, allocations: 198.3 kB / 22.17 MB, free: 5.211 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.3/1.3, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 179] 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.897/2.897, allocations: 497.2 MB / 0.7845 GB, free: 33.67 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.AntiFreeze,tolerance=1e-08,outputFormat="mat",numberOfIntervals=100,variableFilter="time|ySet|yOut|antFre.sigBus.TConInMea|antFre.sigBus.TEvaOutMea|antFre.TAntFre",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze") translateModel(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze,tolerance=1e-08,outputFormat="mat",numberOfIntervals=100,variableFilter="time|ySet|yOut|antFre.sigBus.TConInMea|antFre.sigBus.TEvaOutMea|antFre.TAntFre",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001834/0.001834, allocations: 73.2 kB / 1.139 GB, free: 33.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2631/0.2649, allocations: 173.9 MB / 1.309 GB, free: 15.92 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.003312/0.2683, allocations: 2.108 MB / 1.311 GB, free: 13.79 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0009204/0.2692, allocations: 0.5805 MB / 1.312 GB, free: 13.21 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.832e-05/0.2693, allocations: 0 / 1.312 GB, free: 13.21 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001058/0.2694, allocations: 19.73 kB / 1.312 GB, free: 13.19 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.503e-05/0.2695, allocations: 47.59 kB / 1.312 GB, free: 13.14 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002643/0.2697, allocations: 83.88 kB / 1.312 GB, free: 13.06 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002984/0.27, allocations: 255.4 kB / 1.312 GB, free: 12.81 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002085/0.2702, allocations: 102.8 kB / 1.312 GB, free: 12.71 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001348/0.2704, allocations: 107.7 kB / 1.313 GB, free: 12.6 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000153/0.2705, allocations: 115.5 kB / 1.313 GB, free: 12.49 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 4.528e-05/0.2706, allocations: 28 kB / 1.313 GB, free: 12.46 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 3.555e-05/0.2706, allocations: 27.94 kB / 1.313 GB, free: 12.43 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 5.932e-05/0.2707, allocations: 59.77 kB / 1.313 GB, free: 12.38 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001124/0.2708, allocations: 119.4 kB / 1.313 GB, free: 12.26 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003028/0.2711, allocations: 270.9 kB / 1.313 GB, free: 11.99 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.2711, allocations: 3.938 kB / 1.313 GB, free: 11.99 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.192e-06/0.2711, allocations: 3.938 kB / 1.313 GB, free: 11.98 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.025e-05/0.2711, allocations: 4 kB / 1.313 GB, free: 11.98 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001147/0.2722, allocations: 0.6463 MB / 1.314 GB, free: 11.27 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.2723, allocations: 12.62 kB / 1.314 GB, free: 11.25 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.342e-05/0.2723, allocations: 24.8 kB / 1.314 GB, free: 11.23 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003225/0.2727, allocations: 256.5 kB / 1.314 GB, free: 10.94 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.379e-05/0.2727, allocations: 24.75 kB / 1.314 GB, free: 10.92 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.963e-05/0.2727, allocations: 16.38 kB / 1.314 GB, free: 10.9 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006165/0.2734, allocations: 270.5 kB / 1.314 GB, free: 10.62 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.2734, allocations: 4 kB / 1.314 GB, free: 10.62 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.199e-05/0.2734, allocations: 4 kB / 1.314 GB, free: 10.62 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-06/0.2734, allocations: 7.938 kB / 1.314 GB, free: 10.61 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006844/0.2741, allocations: 195.8 kB / 1.315 GB, free: 10.42 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00109/0.2752, allocations: 0.6209 MB / 1.315 GB, free: 9.746 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008149/0.276, allocations: 206.5 kB / 1.315 GB, free: 9.535 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003099/0.2763, allocations: 84.78 kB / 1.315 GB, free: 9.449 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.526e-05/0.2763, allocations: 0 / 1.315 GB, free: 9.449 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004559/0.2768, allocations: 191.1 kB / 1.316 GB, free: 9.25 MB / 1.014 GB Notification: Performance of pre-optimization done (n=18): time 1.473e-06/0.2768, allocations: 4 kB / 1.316 GB, free: 9.246 MB / 1.014 GB Notification: Performance of matching and sorting (n=18): time 0.001086/0.2779, allocations: 330.6 kB / 1.316 GB, free: 8.918 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.281e-05/0.278, allocations: 110.8 kB / 1.316 GB, free: 8.785 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001896/0.2781, allocations: 213.6 kB / 1.316 GB, free: 8.566 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.669e-05/0.2782, allocations: 33.7 kB / 1.316 GB, free: 8.527 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.2783, allocations: 148.4 kB / 1.316 GB, free: 8.379 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.914e-05/0.2783, allocations: 55.62 kB / 1.316 GB, free: 8.324 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.962e-05/0.2784, allocations: 61.69 kB / 1.317 GB, free: 8.258 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.2786, allocations: 334.8 kB / 1.317 GB, free: 7.922 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003599/0.2789, allocations: 108.2 kB / 1.317 GB, free: 7.812 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000402/0.2793, allocations: 179.2 kB / 1.317 GB, free: 7.613 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000686/0.28, allocations: 312.6 kB / 1.317 GB, free: 7.273 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.28, allocations: 0 / 1.317 GB, free: 7.273 MB / 1.014 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0009062/0.2809, allocations: 423.8 kB / 1.318 GB, free: 6.836 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 6.254e-05/0.281, allocations: 93.05 kB / 1.318 GB, free: 6.727 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.281, allocations: 0 / 1.318 GB, free: 6.727 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.281, allocations: 7.938 kB / 1.318 GB, free: 6.719 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002294/0.2812, allocations: 47.89 kB / 1.318 GB, free: 6.672 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.2812, allocations: 0 / 1.318 GB, free: 6.672 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003231/0.2816, allocations: 63.91 kB / 1.318 GB, free: 6.609 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.616e-05/0.2816, allocations: 12 kB / 1.318 GB, free: 6.598 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 25 (antFre.disErr.y,$PRE.antFre.disErr.y,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,antFre.hys.y,$PRE.antFre.hys.y,hys.y,$PRE.hys.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,antFre.intConOne.y,antFre.disErr.local_set,antFre.disErr.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 3 * 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.0001617/0.2818, allocations: 152 kB / 1.318 GB, free: 6.438 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.451e-05/0.2818, allocations: 23.83 kB / 1.318 GB, free: 6.414 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000817/0.2826, allocations: 261.3 kB / 1.318 GB, free: 6.156 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.2826, allocations: 3.938 kB / 1.318 GB, free: 6.152 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.2826, allocations: 0 / 1.318 GB, free: 6.152 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.2826, allocations: 0 / 1.318 GB, free: 6.152 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001108/0.2837, allocations: 0.5802 MB / 1.319 GB, free: 5.516 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.2837, allocations: 0 / 1.319 GB, free: 5.516 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001666/0.2839, allocations: 35.84 kB / 1.319 GB, free: 5.48 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.2839, allocations: 0 / 1.319 GB, free: 5.48 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.121e-05/0.2839, allocations: 7.984 kB / 1.319 GB, free: 5.473 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.2839, allocations: 4 kB / 1.319 GB, free: 5.469 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.2839, allocations: 0 / 1.319 GB, free: 5.469 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000772/0.2847, allocations: 340.8 kB / 1.319 GB, free: 5.121 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 6.621e-05/0.2848, allocations: 96.91 kB / 1.319 GB, free: 5.008 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.481e-05/0.2848, allocations: 11.98 kB / 1.319 GB, free: 4.996 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003176/0.2851, allocations: 39.95 kB / 1.32 GB, free: 4.957 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/0.2853, allocations: 43.94 kB / 1.32 GB, free: 4.914 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.634e-05/0.2853, allocations: 15.98 kB / 1.32 GB, free: 4.898 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001188/0.2854, allocations: 135.3 kB / 1.32 GB, free: 4.766 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.2854, allocations: 0 / 1.32 GB, free: 4.766 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002907/0.2857, allocations: 63.88 kB / 1.32 GB, free: 4.703 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,hys.y,antFre.disErr.y,antFre.hys.y,ySetPul.T_start,ySetPul.count,TConInEmu.T_start,TConInEmu.count,TEvaOutEmu.T_start,TEvaOutEmu.count) * Number of discrete states: 6 (TEvaOutEmu.count,TConInEmu.count,ySetPul.count,antFre.hys.y,hys.y,antFre.disErr.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * 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.0001406/0.2858, allocations: 115.2 kB / 1.32 GB, free: 4.582 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0008841/0.2867, allocations: 397.2 kB / 1.32 GB, free: 4.16 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.2867, allocations: 0 / 1.32 GB, free: 4.16 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003657/0.2871, allocations: 122.1 kB / 1.32 GB, free: 4.043 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003488/0.2874, allocations: 35 kB / 1.32 GB, free: 4.012 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008116/0.2882, allocations: 375.6 kB / 1.321 GB, free: 3.617 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003466/0.2886, allocations: 0.7359 MB / 1.321 GB, free: 2.855 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 8.26e-05/0.2887, allocations: 25.48 kB / 1.322 GB, free: 2.828 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.37e-05/0.2887, allocations: 23.44 kB / 1.322 GB, free: 2.805 MB / 1.014 GB Notification: Performance of SimCode: time 2.9e-07/0.2887, allocations: 3.938 kB / 1.322 GB, free: 2.801 MB / 1.014 GB Notification: Performance of Templates: time 0.006505/0.2952, allocations: 3.232 MB / 1.325 GB, free: 15.62 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze -abortSlowSimulation -alarm=800 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_ModularReversible_Controls_Safety_Examples_AntiFreeze.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.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: 7.701868059113622]