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.002079/0.002079, allocations: 110 kB / 18.93 MB, free: 2.945 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.002501/0.002501, allocations: 188.3 kB / 22.23 MB, free: 5.16 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.499/1.499, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.214/3.214, allocations: 0.4893 GB / 0.7884 GB, free: 33.1 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.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.002042/0.002042, allocations: 64.09 kB / 1.145 GB, free: 30.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3249/0.3269, allocations: 174.9 MB / 1.316 GB, free: 9.703 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.003492/0.3304, allocations: 2.121 MB / 1.318 GB, free: 7.578 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001055/0.3315, allocations: 0.5804 MB / 1.319 GB, free: 6.992 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001188/0.3316, allocations: 4 kB / 1.319 GB, free: 6.988 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001313/0.3317, allocations: 23.67 kB / 1.319 GB, free: 6.965 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001051/0.3318, allocations: 39.66 kB / 1.319 GB, free: 6.926 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002964/0.3321, allocations: 87.83 kB / 1.319 GB, free: 6.84 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003488/0.3325, allocations: 267.4 kB / 1.319 GB, free: 6.578 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002558/0.3327, allocations: 91.28 kB / 1.319 GB, free: 6.484 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001594/0.3329, allocations: 111.6 kB / 1.319 GB, free: 6.375 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001766/0.3331, allocations: 127.4 kB / 1.319 GB, free: 6.25 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.557e-05/0.3331, allocations: 28 kB / 1.319 GB, free: 6.223 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 4.787e-05/0.3332, allocations: 24 kB / 1.319 GB, free: 6.199 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 7.381e-05/0.3332, allocations: 55.84 kB / 1.32 GB, free: 6.145 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.000137/0.3334, allocations: 115.4 kB / 1.32 GB, free: 6.031 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003877/0.3338, allocations: 282.8 kB / 1.32 GB, free: 5.754 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.3338, allocations: 4 kB / 1.32 GB, free: 5.75 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3338, allocations: 0 / 1.32 GB, free: 5.75 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.3338, allocations: 0 / 1.32 GB, free: 5.75 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.001248/0.335, allocations: 0.5655 MB / 1.32 GB, free: 5.133 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.3351, allocations: 8.031 kB / 1.32 GB, free: 5.125 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.698e-05/0.3351, allocations: 28.75 kB / 1.32 GB, free: 5.098 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000345/0.3355, allocations: 203.2 kB / 1.321 GB, free: 4.875 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.519e-05/0.3355, allocations: 12.75 kB / 1.321 GB, free: 4.863 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.474e-05/0.3355, allocations: 24.38 kB / 1.321 GB, free: 4.84 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006866/0.3362, allocations: 278.2 kB / 1.321 GB, free: 4.555 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.3362, allocations: 0 / 1.321 GB, free: 4.555 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.897e-05/0.3363, allocations: 8 kB / 1.321 GB, free: 4.547 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.3363, allocations: 8 kB / 1.321 GB, free: 4.539 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007276/0.337, allocations: 191.8 kB / 1.321 GB, free: 4.352 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001168/0.3382, allocations: 0.5771 MB / 1.322 GB, free: 3.73 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008938/0.3391, allocations: 214.5 kB / 1.322 GB, free: 3.512 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003471/0.3394, allocations: 88.72 kB / 1.322 GB, free: 3.422 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.424e-05/0.3394, allocations: 7.984 kB / 1.322 GB, free: 3.414 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005198/0.34, allocations: 183.2 kB / 1.322 GB, free: 3.223 MB / 1.014 GB Notification: Performance of pre-optimization done (n=18): time 1.693e-06/0.34, allocations: 0 / 1.322 GB, free: 3.223 MB / 1.014 GB Notification: Performance of matching and sorting (n=18): time 0.001166/0.3411, allocations: 334.4 kB / 1.323 GB, free: 2.891 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.133e-05/0.3412, allocations: 110.8 kB / 1.323 GB, free: 2.758 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002086/0.3414, allocations: 204.3 kB / 1.323 GB, free: 2.551 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.589e-05/0.3415, allocations: 41.69 kB / 1.323 GB, free: 2.504 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.3416, allocations: 164.3 kB / 1.323 GB, free: 2.34 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.573e-05/0.3416, allocations: 43.64 kB / 1.323 GB, free: 2.297 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001194/0.3417, allocations: 69.69 kB / 1.323 GB, free: 2.223 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.3419, allocations: 326.8 kB / 1.323 GB, free: 1.895 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003935/0.3423, allocations: 108.2 kB / 1.324 GB, free: 1.785 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004312/0.3427, allocations: 176.5 kB / 1.324 GB, free: 1.59 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007502/0.3435, allocations: 304.3 kB / 1.324 GB, free: 1.258 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.3435, allocations: 4 kB / 1.324 GB, free: 1.254 MB / 1.014 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001013/0.3445, allocations: 429.2 kB / 1.324 GB, free: 0.8125 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 7.211e-05/0.3445, allocations: 89.09 kB / 1.325 GB, free: 0.707 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.3446, allocations: 4.156 kB / 1.325 GB, free: 0.7031 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.3446, allocations: 7.938 kB / 1.325 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002477/0.3448, allocations: 43.95 kB / 1.325 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.511e-05/0.3448, allocations: 7.938 kB / 1.325 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003497/0.3452, allocations: 55.8 kB / 1.325 GB, free: 0.5898 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.343e-05/0.3452, allocations: 15.98 kB / 1.325 GB, free: 0.5742 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.0001572/0.3454, allocations: 148.4 kB / 1.325 GB, free: 432 kB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.881e-05/0.3454, allocations: 19.91 kB / 1.325 GB, free: 412 kB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008211/0.3462, allocations: 254 kB / 1.325 GB, free: 152 kB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.3462, allocations: 7.938 kB / 1.325 GB, free: 144 kB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.3463, allocations: 4 kB / 1.325 GB, free: 140 kB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.3463, allocations: 0 / 1.325 GB, free: 140 kB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001098/0.3474, allocations: 0.548 MB / 1.326 GB, free: 15.54 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.3474, allocations: 0 / 1.326 GB, free: 15.54 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001838/0.3475, allocations: 39.89 kB / 1.326 GB, free: 15.5 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.3475, allocations: 0 / 1.326 GB, free: 15.5 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.968e-05/0.3476, allocations: 4 kB / 1.326 GB, free: 15.5 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.3476, allocations: 7.984 kB / 1.326 GB, free: 15.49 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3476, allocations: 0 / 1.326 GB, free: 15.49 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008092/0.3484, allocations: 345 kB / 1.326 GB, free: 15.14 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.621e-05/0.3484, allocations: 23.73 kB / 1.326 GB, free: 15.11 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.697e-05/0.3485, allocations: 8 kB / 1.326 GB, free: 15.11 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003246/0.3488, allocations: 39.94 kB / 1.326 GB, free: 15.07 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/0.3489, allocations: 47.88 kB / 1.326 GB, free: 15.02 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.702e-05/0.3489, allocations: 11.98 kB / 1.326 GB, free: 15.01 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000127/0.3491, allocations: 144.2 kB / 1.326 GB, free: 14.87 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3491, allocations: 0 / 1.326 GB, free: 14.87 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003169/0.3494, allocations: 55.95 kB / 1.326 GB, free: 14.81 MB / 1.029 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.0001478/0.3495, allocations: 113 kB / 1.326 GB, free: 14.69 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009759/0.3505, allocations: 405.8 kB / 1.327 GB, free: 14.26 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3505, allocations: 0 / 1.327 GB, free: 14.26 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0004003/0.3509, allocations: 107.8 kB / 1.327 GB, free: 14.15 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003923/0.3513, allocations: 40.28 kB / 1.327 GB, free: 14.11 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008414/0.3521, allocations: 369.1 kB / 1.327 GB, free: 13.73 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003529/0.3525, allocations: 0.7398 MB / 1.328 GB, free: 12.96 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.943e-05/0.3526, allocations: 17.62 kB / 1.328 GB, free: 12.95 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.515e-05/0.3527, allocations: 31.42 kB / 1.328 GB, free: 12.92 MB / 1.029 GB Notification: Performance of SimCode: time 3.51e-07/0.3527, allocations: 0 / 1.328 GB, free: 12.92 MB / 1.029 GB Notification: Performance of Templates: time 0.007358/0.36, allocations: 3.284 MB / 1.331 GB, free: 9.68 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 8.997651217505336]