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.0009675/0.0009675, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001375/0.001375, allocations: 169 kB / 24.06 MB, free: 456 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.9243/0.9243, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.03/2.03, allocations: 429.5 MB / 0.6743 GB, free: 3.926 MB / 0.6355 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.8795 GB, free: 5.98 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.771e-05/1.902e-05, allocations: 4.984 kB / 0.8795 GB, free: 5.977 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.002403/0.002422, allocations: 2.18 MB / 0.8816 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0007662/0.003188, allocations: 0.601 MB / 0.8822 GB, free: 3.203 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.00329, allocations: 9.219 kB / 0.8822 GB, free: 3.195 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.000107/0.003397, allocations: 19.73 kB / 0.8822 GB, free: 3.176 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.452e-05/0.003471, allocations: 44.5 kB / 0.8822 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002145/0.003686, allocations: 99.3 kB / 0.8823 GB, free: 3.039 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002365/0.003922, allocations: 291.2 kB / 0.8826 GB, free: 2.754 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001818/0.004104, allocations: 91.52 kB / 0.8827 GB, free: 2.664 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001914/0.004296, allocations: 175.6 kB / 0.8829 GB, free: 2.492 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 9.871e-05/0.004394, allocations: 99.67 kB / 0.883 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.494e-05/0.004429, allocations: 28 kB / 0.883 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 2.514e-05/0.004454, allocations: 28 kB / 0.883 GB, free: 2.34 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.073e-05/0.004505, allocations: 67.73 kB / 0.8831 GB, free: 2.273 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 6.369e-05/0.004569, allocations: 76.41 kB / 0.8832 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001959/0.004765, allocations: 211.2 kB / 0.8834 GB, free: 1.992 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.004767, allocations: 1.531 kB / 0.8834 GB, free: 1.992 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.41e-07/0.004768, allocations: 0 / 0.8834 GB, free: 1.992 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.004771, allocations: 0 / 0.8834 GB, free: 1.992 MB / 0.8386 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.0006343/0.005406, allocations: 0.6771 MB / 0.884 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.00544, allocations: 12.03 kB / 0.884 GB, free: 1.25 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.375e-05/0.005503, allocations: 52.72 kB / 0.8841 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001915/0.005695, allocations: 198.1 kB / 0.8843 GB, free: 0.9766 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.275e-05/0.005718, allocations: 20.88 kB / 0.8843 GB, free: 0.957 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.823e-05/0.005746, allocations: 28.36 kB / 0.8843 GB, free: 0.9297 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003596/0.006105, allocations: 292.7 kB / 0.8846 GB, free: 0.6133 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.006113, allocations: 192 / 0.8846 GB, free: 0.6133 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.664e-05/0.00613, allocations: 8.375 kB / 0.8846 GB, free: 0.6055 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.006136, allocations: 7.938 kB / 0.8846 GB, free: 0.5977 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.957e-05/0.006226, allocations: 59.38 kB / 0.8847 GB, free: 0.5391 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000584/0.00681, allocations: 0.5296 MB / 0.8852 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001277/0.006938, allocations: 87 kB / 0.8853 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.258e-05/0.00698, allocations: 27.67 kB / 0.8853 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.79e-05/0.006998, allocations: 8 kB / 0.8853 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001449/0.007143, allocations: 140.7 kB / 0.8854 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=20): time 1.162e-06/0.007144, allocations: 0 / 0.8854 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=20): time 0.000252/0.007396, allocations: 171.8 kB / 0.8856 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.362e-05/0.00744, allocations: 114.8 kB / 0.8857 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.007563, allocations: 261.7 kB / 0.886 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/0.007589, allocations: 41.69 kB / 0.886 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.518e-05/0.007674, allocations: 211.1 kB / 0.8862 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.217e-05/0.007706, allocations: 51.56 kB / 0.8862 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.581e-05/0.007782, allocations: 83.53 kB / 0.8863 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.007893, allocations: 0.5155 MB / 0.8868 GB, free: 14.19 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.065e-05/0.007974, allocations: 113.3 kB / 0.8869 GB, free: 14.06 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001273/0.008101, allocations: 260.2 kB / 0.8872 GB, free: 13.74 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001294/0.00823, allocations: 211.5 kB / 0.8874 GB, free: 13.49 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.008233, allocations: 0 / 0.8874 GB, free: 13.49 MB / 0.8542 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002799/0.008513, allocations: 386.8 kB / 0.8878 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001669/0.008679, allocations: 95.59 kB / 0.8879 GB, free: 12.96 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.008684, allocations: 0 / 0.8879 GB, free: 12.96 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.945e-06/0.008692, allocations: 4 kB / 0.8879 GB, free: 12.96 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.008812, allocations: 47.91 kB / 0.8879 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.008816, allocations: 3.938 kB / 0.8879 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001319/0.008948, allocations: 55.97 kB / 0.888 GB, free: 12.85 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.747e-05/0.008965, allocations: 19.92 kB / 0.888 GB, free: 12.83 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.079e-05/0.009056, allocations: 178.7 kB / 0.8881 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.781e-05/0.009084, allocations: 23.91 kB / 0.8882 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001778/0.009262, allocations: 159.4 kB / 0.8883 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.009264, allocations: 0 / 0.8883 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-06/0.009265, allocations: 0 / 0.8883 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.009269, allocations: 3.984 kB / 0.8883 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003238/0.009593, allocations: 459.2 kB / 0.8888 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.009594, allocations: 0 / 0.8888 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.638e-05/0.009651, allocations: 15.98 kB / 0.8888 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.009653, allocations: 4 kB / 0.8888 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.009663, allocations: 7.984 kB / 0.8888 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.009664, allocations: 0 / 0.8888 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.009665, allocations: 4 kB / 0.8888 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001879/0.009853, allocations: 309.3 kB / 0.8891 GB, free: 11.62 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.652e-05/0.00987, allocations: 19.8 kB / 0.8891 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.717e-05/0.009897, allocations: 8 kB / 0.8891 GB, free: 11.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.01001, allocations: 35.95 kB / 0.8891 GB, free: 11.56 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.522e-05/0.01008, allocations: 51.84 kB / 0.8892 GB, free: 11.51 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.435e-05/0.0101, allocations: 11.98 kB / 0.8892 GB, free: 11.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.195e-05/0.01016, allocations: 168.5 kB / 0.8894 GB, free: 11.34 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01016, allocations: 0 / 0.8894 GB, free: 11.34 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000188/0.01035, allocations: 63.89 kB / 0.8894 GB, free: 11.27 MB / 0.8542 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.905e-05/0.01043, allocations: 116.2 kB / 0.8895 GB, free: 11.15 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002413/0.01067, allocations: 372.2 kB / 0.8899 GB, free: 10.73 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.01067, allocations: 0 / 0.8899 GB, free: 10.73 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.546e-05/0.01074, allocations: 65.3 kB / 0.89 GB, free: 10.66 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002243/0.01097, allocations: 41.78 kB / 0.89 GB, free: 10.62 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005477/0.01152, allocations: 377.5 kB / 0.8904 GB, free: 10.23 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.157e-05/0.01156, allocations: 80.27 kB / 0.8904 GB, free: 10.13 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.635e-05/0.01162, allocations: 25.94 kB / 0.8905 GB, free: 10.1 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001363/0.01176, allocations: 122.2 kB / 0.8906 GB, free: 9.977 MB / 0.8542 GB Notification: Performance of SimCode: time 6.11e-07/0.01176, allocations: 0 / 0.8906 GB, free: 9.977 MB / 0.8542 GB Notification: Performance of Templates: time 0.005145/0.01691, allocations: 4.091 MB / 0.8946 GB, free: 5.965 MB / 0.8542 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: 5.1168464701622725]