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.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.0009553/0.0009553, allocations: 81.64 kB / 19.87 MB, free: 4.613 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.0008997/0.0008997, allocations: 173 kB / 23.28 MB, free: 1.215 MB / 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.8985/0.8985, allocations: 177.1 MB / 203.7 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.265/2.265, allocations: 438.1 MB / 0.682 GB, free: 14.18 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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 1.302e-06/1.302e-06, allocations: 0 / 0.8898 GB, free: 9.711 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.15e-05/2.28e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.707 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.002536/0.002559, allocations: 2.169 MB / 0.8919 GB, free: 7.523 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0007794/0.003338, allocations: 0.5882 MB / 0.8925 GB, free: 6.93 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.003439, allocations: 4 kB / 0.8925 GB, free: 6.926 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 9.996e-05/0.003539, allocations: 27.67 kB / 0.8925 GB, free: 6.898 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 7.372e-05/0.003613, allocations: 47.58 kB / 0.8926 GB, free: 6.852 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002056/0.003819, allocations: 91.88 kB / 0.8927 GB, free: 6.762 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0002255/0.004044, allocations: 291.2 kB / 0.893 GB, free: 6.477 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001717/0.004216, allocations: 99.44 kB / 0.893 GB, free: 6.379 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001618/0.004378, allocations: 175.6 kB / 0.8932 GB, free: 6.207 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 9.187e-05/0.004469, allocations: 95.73 kB / 0.8933 GB, free: 6.113 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.529e-05/0.004505, allocations: 28 kB / 0.8933 GB, free: 6.086 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 2.671e-05/0.004531, allocations: 28 kB / 0.8934 GB, free: 6.059 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 4.369e-05/0.004575, allocations: 67.73 kB / 0.8934 GB, free: 5.992 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 5.81e-05/0.004633, allocations: 79.81 kB / 0.8935 GB, free: 5.914 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001877/0.004821, allocations: 223.1 kB / 0.8937 GB, free: 5.695 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.004823, allocations: 0 / 0.8937 GB, free: 5.695 MB / 0.8542 GB Notification: Performance of FrontEnd: time 7.81e-07/0.004823, allocations: 0 / 0.8937 GB, free: 5.695 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.116e-06/0.004827, allocations: 0 / 0.8937 GB, free: 5.695 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0006001/0.005427, allocations: 0.6729 MB / 0.8944 GB, free: 4.969 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.005459, allocations: 12.62 kB / 0.8944 GB, free: 4.957 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.883e-05/0.005518, allocations: 60.72 kB / 0.8944 GB, free: 4.898 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001733/0.005691, allocations: 198.1 kB / 0.8946 GB, free: 4.676 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/0.00571, allocations: 16.88 kB / 0.8946 GB, free: 4.66 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.598e-05/0.005736, allocations: 32.36 kB / 0.8947 GB, free: 4.629 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002682/0.006004, allocations: 288.6 kB / 0.895 GB, free: 4.312 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.006011, allocations: 192 / 0.895 GB, free: 4.312 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.006025, allocations: 4.375 kB / 0.895 GB, free: 4.309 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.311e-06/0.006031, allocations: 7.938 kB / 0.895 GB, free: 4.301 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.558e-05/0.006117, allocations: 67.44 kB / 0.895 GB, free: 4.23 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005372/0.006654, allocations: 0.5178 MB / 0.8955 GB, free: 3.688 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001165/0.006771, allocations: 87 kB / 0.8956 GB, free: 3.59 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.661e-05/0.006807, allocations: 27.67 kB / 0.8956 GB, free: 3.559 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.736e-05/0.006825, allocations: 4 kB / 0.8956 GB, free: 3.555 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001506/0.006975, allocations: 146.3 kB / 0.8958 GB, free: 3.398 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=20): time 1.262e-06/0.006976, allocations: 0 / 0.8958 GB, free: 3.398 MB / 0.8542 GB Notification: Performance of matching and sorting (n=20): time 0.0002232/0.0072, allocations: 163.7 kB / 0.8959 GB, free: 3.234 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.898e-05/0.007239, allocations: 118.7 kB / 0.8961 GB, free: 3.094 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/0.007362, allocations: 262.9 kB / 0.8963 GB, free: 2.82 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.419e-05/0.007386, allocations: 41.7 kB / 0.8963 GB, free: 2.773 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.018e-05/0.007467, allocations: 211 kB / 0.8965 GB, free: 2.562 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.646e-05/0.007503, allocations: 59.5 kB / 0.8966 GB, free: 2.504 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.099e-05/0.007574, allocations: 79.58 kB / 0.8967 GB, free: 2.418 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.007678, allocations: 0.5078 MB / 0.8972 GB, free: 1.898 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.172e-05/0.00775, allocations: 117.4 kB / 0.8973 GB, free: 1.766 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/0.007864, allocations: 255.3 kB / 0.8975 GB, free: 1.449 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003877/0.008252, allocations: 211.6 kB / 0.8977 GB, free: 1.199 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.008254, allocations: 0 / 0.8977 GB, free: 1.199 MB / 0.8542 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002631/0.008517, allocations: 384.8 kB / 0.8981 GB, free: 0.7812 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.78e-05/0.008555, allocations: 97.14 kB / 0.8982 GB, free: 0.668 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.00856, allocations: 0 / 0.8982 GB, free: 0.668 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.00857, allocations: 4 kB / 0.8982 GB, free: 0.6641 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.008685, allocations: 47.89 kB / 0.8982 GB, free: 0.6172 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.008689, allocations: 4 kB / 0.8982 GB, free: 0.6133 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001213/0.008811, allocations: 51.81 kB / 0.8983 GB, free: 0.5625 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.724e-05/0.008828, allocations: 19.92 kB / 0.8983 GB, free: 0.543 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 28 (antFre.disErr.y,$PRE.antFre.disErr.y,antFre.disErr.local_reset,antFre.disErr.local_set,antFre.intConOne.y,ySetOn.y,$PRE.ySetOn.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,antFre.errAndSetOn.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 (34): * Single equations (assignments): 31 * 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 9.524e-05/0.008923, allocations: 186.7 kB / 0.8985 GB, free: 360 kB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.848e-05/0.008951, allocations: 27.91 kB / 0.8985 GB, free: 332 kB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001685/0.00912, allocations: 155.4 kB / 0.8987 GB, free: 172 kB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.009122, allocations: 4 kB / 0.8987 GB, free: 168 kB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-06/0.009123, allocations: 0 / 0.8987 GB, free: 168 kB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.009129, allocations: 3.984 kB / 0.8987 GB, free: 164 kB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003273/0.009456, allocations: 451.7 kB / 0.8991 GB, free: 15.69 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.009458, allocations: 0 / 0.8991 GB, free: 15.69 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.659e-05/0.009514, allocations: 23.98 kB / 0.8991 GB, free: 15.66 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.009516, allocations: 0 / 0.8991 GB, free: 15.66 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.009526, allocations: 11.98 kB / 0.8991 GB, free: 15.65 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.009527, allocations: 0 / 0.8991 GB, free: 15.65 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.009529, allocations: 0 / 0.8991 GB, free: 15.65 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001776/0.009706, allocations: 315.5 kB / 0.8994 GB, free: 15.32 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.536e-05/0.009722, allocations: 15.84 kB / 0.8995 GB, free: 15.31 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.5e-05/0.009747, allocations: 8 kB / 0.8995 GB, free: 15.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.009854, allocations: 35.89 kB / 0.8995 GB, free: 15.27 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.41e-05/0.009928, allocations: 55.84 kB / 0.8996 GB, free: 15.21 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.385e-05/0.009942, allocations: 8 kB / 0.8996 GB, free: 15.2 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.994e-05/0.01, allocations: 167.2 kB / 0.8997 GB, free: 15.04 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6e-08/0.01, allocations: 0 / 0.8997 GB, free: 15.04 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001915/0.01019, allocations: 67.88 kB / 0.8998 GB, free: 14.97 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 (antFre.errAndSetOn.y,$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,ySetOn.y) * Number of discrete states: 7 (TEvaOutEmu.count,TConInEmu.count,ySetPul.count,antFre.hys.y,hys.y,ySetOn.y,antFre.disErr.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 13 * 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 7.771e-05/0.01027, allocations: 115.1 kB / 0.8999 GB, free: 14.85 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002328/0.0105, allocations: 374.4 kB / 0.9003 GB, free: 14.43 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.01051, allocations: 4.062 kB / 0.9003 GB, free: 14.42 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 7.698e-05/0.01058, allocations: 67.56 kB / 0.9003 GB, free: 14.35 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002141/0.0108, allocations: 35.97 kB / 0.9004 GB, free: 14.32 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005477/0.01134, allocations: 387.5 kB / 0.9007 GB, free: 13.91 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.126e-05/0.01139, allocations: 76.33 kB / 0.9008 GB, free: 13.82 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 6.614e-05/0.01145, allocations: 21.95 kB / 0.9008 GB, free: 13.79 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001363/0.01159, allocations: 126.2 kB / 0.9009 GB, free: 13.67 MB / 0.8698 GB Notification: Performance of SimCode: time 8.12e-07/0.01159, allocations: 0 / 0.9009 GB, free: 13.67 MB / 0.8698 GB Notification: Performance of Templates: time 0.005314/0.0169, allocations: 3.977 MB / 0.9048 GB, free: 9.781 MB / 0.8698 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.904640892986208]