Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009485/0.0009485, allocations: 82.64 kB / 20.68 MB, free: 3.816 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001728/0.001728, allocations: 181 kB / 24.09 MB, free: 420 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9575/0.9575, allocations: 177.1 MB / 204.5 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.739/1.739, allocations: 359 MB / 0.6055 GB, free: 10.88 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_11_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_11_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.7876 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.383e-05/2.554e-05, allocations: 3.344 kB / 0.7876 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.002767/0.002793, allocations: 2.125 MB / 0.7897 GB, free: 10 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009289/0.003722, allocations: 0.5795 MB / 0.7903 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001239/0.003846, allocations: 4 kB / 0.7903 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001145/0.00396, allocations: 23.73 kB / 0.7903 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.306e-05/0.004043, allocations: 40.84 kB / 0.7903 GB, free: 9.355 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002485/0.004292, allocations: 92.72 kB / 0.7904 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002632/0.004555, allocations: 271.2 kB / 0.7907 GB, free: 9 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002065/0.004762, allocations: 80.25 kB / 0.7907 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002001/0.004962, allocations: 163.7 kB / 0.7909 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.005069, allocations: 89.41 kB / 0.791 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.754e-05/0.005107, allocations: 24 kB / 0.791 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 2.719e-05/0.005134, allocations: 24 kB / 0.791 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.917e-05/0.005183, allocations: 55.81 kB / 0.7911 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.911e-05/0.005252, allocations: 85.08 kB / 0.7912 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002097/0.005462, allocations: 191.3 kB / 0.7913 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.005465, allocations: 0 / 0.7913 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.02e-07/0.005466, allocations: 0 / 0.7913 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.998e-06/0.00547, allocations: 1.594 kB / 0.7913 GB, free: 8.305 MB / 0.7448 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.0006904/0.00616, allocations: 0.661 MB / 0.792 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.006202, allocations: 12.03 kB / 0.792 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.932e-05/0.006262, allocations: 36.8 kB / 0.792 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001953/0.006457, allocations: 204.2 kB / 0.7922 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/0.006477, allocations: 12.75 kB / 0.7922 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.901e-05/0.006506, allocations: 24.38 kB / 0.7923 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002989/0.006805, allocations: 268.3 kB / 0.7925 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.006815, allocations: 4.781 kB / 0.7925 GB, free: 6.98 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.787e-05/0.006833, allocations: 12.38 kB / 0.7925 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.156e-06/0.006841, allocations: 8.625 kB / 0.7925 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001119/0.006953, allocations: 51.81 kB / 0.7926 GB, free: 6.914 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006717/0.007625, allocations: 0.4934 MB / 0.7931 GB, free: 6.395 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002044/0.007829, allocations: 108.3 kB / 0.7932 GB, free: 6.277 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.294e-05/0.007872, allocations: 29.8 kB / 0.7932 GB, free: 6.246 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.782e-05/0.00789, allocations: 5.031 kB / 0.7932 GB, free: 6.242 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001697/0.00806, allocations: 139.8 kB / 0.7933 GB, free: 6.094 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=18): time 1.813e-06/0.008061, allocations: 0 / 0.7933 GB, free: 6.094 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18): time 0.0002449/0.008306, allocations: 153.4 kB / 0.7935 GB, free: 5.938 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.859e-05/0.008355, allocations: 111.7 kB / 0.7936 GB, free: 5.805 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.008493, allocations: 251.2 kB / 0.7938 GB, free: 5.543 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.26e-05/0.008526, allocations: 42.72 kB / 0.7939 GB, free: 5.496 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001172/0.008643, allocations: 207 kB / 0.7941 GB, free: 5.289 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.73e-05/0.00869, allocations: 51.66 kB / 0.7941 GB, free: 5.238 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.008792, allocations: 73.48 kB / 0.7942 GB, free: 5.16 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.008935, allocations: 0.5116 MB / 0.7947 GB, free: 4.637 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.696e-05/0.009032, allocations: 109.4 kB / 0.7948 GB, free: 4.508 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/0.009165, allocations: 251 kB / 0.795 GB, free: 4.199 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001507/0.009316, allocations: 208.5 kB / 0.7952 GB, free: 3.957 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.00932, allocations: 4 kB / 0.7952 GB, free: 3.953 MB / 0.7448 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002951/0.009615, allocations: 372.4 kB / 0.7956 GB, free: 3.551 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.236e-05/0.009667, allocations: 89.09 kB / 0.7957 GB, free: 3.445 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.009675, allocations: 4 kB / 0.7957 GB, free: 3.441 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.009692, allocations: 0 / 0.7957 GB, free: 3.441 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.00982, allocations: 52.53 kB / 0.7957 GB, free: 3.391 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.009826, allocations: 4 kB / 0.7957 GB, free: 3.387 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001338/0.00996, allocations: 56.86 kB / 0.7958 GB, free: 3.332 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.589e-05/0.009975, allocations: 12.66 kB / 0.7958 GB, free: 3.32 MB / 0.7448 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,antFre.disErr.local_reset,antFre.disErr.local_set,antFre.intConOne.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) * 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.0001168/0.01009, allocations: 179.7 kB / 0.796 GB, free: 3.137 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.174e-05/0.01012, allocations: 27.91 kB / 0.796 GB, free: 3.109 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002149/0.01034, allocations: 158.2 kB / 0.7962 GB, free: 2.949 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.01034, allocations: 0 / 0.7962 GB, free: 2.949 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-06/0.01034, allocations: 5.812 kB / 0.7962 GB, free: 2.945 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.01035, allocations: 0 / 0.7962 GB, free: 2.945 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003346/0.01068, allocations: 405.8 kB / 0.7966 GB, free: 2.516 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.01069, allocations: 0 / 0.7966 GB, free: 2.516 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.108e-05/0.01076, allocations: 28.53 kB / 0.7966 GB, free: 2.488 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.01076, allocations: 4 kB / 0.7966 GB, free: 2.484 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.517e-06/0.01077, allocations: 4.703 kB / 0.7966 GB, free: 2.48 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.01077, allocations: 0 / 0.7966 GB, free: 2.48 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.01077, allocations: 1.031 kB / 0.7966 GB, free: 2.48 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000189/0.01096, allocations: 302.7 kB / 0.7969 GB, free: 2.168 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.789e-05/0.01098, allocations: 19.84 kB / 0.7969 GB, free: 2.148 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.447e-05/0.011, allocations: 9.109 kB / 0.7969 GB, free: 2.141 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.01111, allocations: 28.81 kB / 0.7969 GB, free: 2.113 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.625e-05/0.01119, allocations: 51.8 kB / 0.797 GB, free: 2.062 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/0.0112, allocations: 9.203 kB / 0.797 GB, free: 2.055 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.566e-05/0.01127, allocations: 172.1 kB / 0.7972 GB, free: 1.887 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01127, allocations: 0 / 0.7972 GB, free: 1.887 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001957/0.01146, allocations: 59.73 kB / 0.7972 GB, free: 1.832 MB / 0.7448 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.0001081/0.01157, allocations: 107.2 kB / 0.7973 GB, free: 1.719 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000279/0.01185, allocations: 369.1 kB / 0.7977 GB, free: 1.301 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.01185, allocations: 0 / 0.7977 GB, free: 1.301 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.454e-05/0.01194, allocations: 59.58 kB / 0.7977 GB, free: 1.238 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002611/0.0122, allocations: 40.83 kB / 0.7978 GB, free: 1.199 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006576/0.01286, allocations: 365.1 kB / 0.7981 GB, free: 0.8203 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.53e-05/0.0129, allocations: 77.05 kB / 0.7982 GB, free: 0.7266 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.449e-05/0.01297, allocations: 16.11 kB / 0.7982 GB, free: 0.7148 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001308/0.0131, allocations: 119.2 kB / 0.7983 GB, free: 0.5977 MB / 0.7448 GB Notification: Performance of SimCode: time 7.41e-07/0.0131, allocations: 0 / 0.7983 GB, free: 0.5977 MB / 0.7448 GB Notification: Performance of Templates: time 0.005402/0.0185, allocations: 3.686 MB / 0.8019 GB, free: 12.98 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.sim & ./Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatPumps_ModularReversible_Controls_Safety_Examples_AntiFreeze.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.113783073145896]