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.002078/0.002078, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002094/0.002094, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.663/1.663, allocations: 177.1 MB / 203.1 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 178] 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 3.498/3.498, allocations: 429.5 MB / 0.6729 GB, free: 4.035 MB / 0.6355 GB " [Timeout remaining time 176] 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 2.424e-06/2.424e-06, allocations: 0 / 0.8775 GB, free: 6.586 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.569e-05/3.811e-05, allocations: 7.031 kB / 0.8775 GB, free: 6.582 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.004482/0.004521, allocations: 2.163 MB / 0.8796 GB, free: 4.434 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001366/0.005887, allocations: 0.5904 MB / 0.8802 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001264/0.006013, allocations: 1.688 kB / 0.8802 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001631/0.006176, allocations: 35.59 kB / 0.8802 GB, free: 3.805 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001209/0.006297, allocations: 44.78 kB / 0.8803 GB, free: 3.762 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003445/0.006642, allocations: 95.81 kB / 0.8804 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0004073/0.007049, allocations: 296 kB / 0.8807 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002666/0.007316, allocations: 87.59 kB / 0.8807 GB, free: 3.293 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002992/0.007615, allocations: 172.3 kB / 0.8809 GB, free: 3.125 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001845/0.007799, allocations: 99.72 kB / 0.881 GB, free: 3.027 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 6.682e-05/0.007866, allocations: 29.59 kB / 0.881 GB, free: 3 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.488e-05/0.007921, allocations: 35.94 kB / 0.8811 GB, free: 2.965 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 8.771e-05/0.008009, allocations: 59.81 kB / 0.8811 GB, free: 2.906 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001336/0.008142, allocations: 83.73 kB / 0.8812 GB, free: 2.824 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004856/0.008628, allocations: 321.9 kB / 0.8815 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.008631, allocations: 0 / 0.8815 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.52e-07/0.008632, allocations: 0 / 0.8815 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.008638, allocations: 0 / 0.8815 GB, free: 2.512 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.001394/0.01003, allocations: 0.6963 MB / 0.8822 GB, free: 1.762 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.01008, allocations: 9.656 kB / 0.8822 GB, free: 1.754 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001249/0.0102, allocations: 44.8 kB / 0.8822 GB, free: 1.711 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004263/0.01063, allocations: 209.7 kB / 0.8824 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.316e-05/0.01066, allocations: 17.5 kB / 0.8825 GB, free: 1.461 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.608e-05/0.01072, allocations: 32.36 kB / 0.8825 GB, free: 1.43 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007101/0.01143, allocations: 377.3 kB / 0.8828 GB, free: 1.02 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.01144, allocations: 4.188 kB / 0.8828 GB, free: 1.016 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.612e-05/0.01148, allocations: 12.12 kB / 0.8829 GB, free: 1.004 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.01149, allocations: 4 kB / 0.8829 GB, free: 1 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005523/0.01204, allocations: 169.9 kB / 0.883 GB, free: 0.8359 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001229/0.01327, allocations: 0.6071 MB / 0.8836 GB, free: 196 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005403/0.01381, allocations: 178.9 kB / 0.8838 GB, free: 4 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002572/0.01407, allocations: 75.58 kB / 0.8839 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.093e-05/0.0141, allocations: 0 / 0.8839 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004679/0.01457, allocations: 191.5 kB / 0.884 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=20): time 1.322e-06/0.01457, allocations: 0 / 0.884 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of matching and sorting (n=20): time 0.0009507/0.01552, allocations: 305.3 kB / 0.8843 GB, free: 15.42 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/0.01562, allocations: 106.8 kB / 0.8844 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003525/0.01597, allocations: 317.7 kB / 0.8847 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.412e-05/0.01602, allocations: 33.7 kB / 0.8848 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002022/0.01622, allocations: 219.1 kB / 0.885 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 7.047e-05/0.01629, allocations: 55.58 kB / 0.885 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001596/0.01645, allocations: 99.58 kB / 0.8851 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002945/0.01674, allocations: 0.5118 MB / 0.8856 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003741/0.01712, allocations: 181.3 kB / 0.8858 GB, free: 13.83 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006658/0.01778, allocations: 326.7 kB / 0.8861 GB, free: 13.44 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006283/0.01841, allocations: 311.5 kB / 0.8864 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.01842, allocations: 0 / 0.8864 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009839/0.0194, allocations: 0.4941 MB / 0.8869 GB, free: 12.56 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.548e-05/0.01949, allocations: 89.09 kB / 0.887 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.0195, allocations: 4.156 kB / 0.887 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.01952, allocations: 4 kB / 0.887 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002531/0.01978, allocations: 51.91 kB / 0.887 GB, free: 12.39 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.431e-05/0.01979, allocations: 7.938 kB / 0.887 GB, free: 12.39 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002802/0.02007, allocations: 47.81 kB / 0.8871 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.194e-05/0.02011, allocations: 15.98 kB / 0.8871 GB, free: 12.32 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,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,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 (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 0.0002646/0.02038, allocations: 198.7 kB / 0.8873 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.951e-05/0.02044, allocations: 23.91 kB / 0.8873 GB, free: 12.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007097/0.02115, allocations: 244.8 kB / 0.8875 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.777e-06/0.02116, allocations: 11.94 kB / 0.8876 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.587e-06/0.02116, allocations: 3.938 kB / 0.8876 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.02117, allocations: 0 / 0.8876 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001237/0.02241, allocations: 0.5734 MB / 0.8881 GB, free: 11.23 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.02241, allocations: 4 kB / 0.8881 GB, free: 11.22 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001261/0.02253, allocations: 31.86 kB / 0.8882 GB, free: 11.19 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.02254, allocations: 0 / 0.8882 GB, free: 11.19 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.753e-05/0.02256, allocations: 7.922 kB / 0.8882 GB, free: 11.18 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.02257, allocations: 4 kB / 0.8882 GB, free: 11.18 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.02257, allocations: 0 / 0.8882 GB, free: 11.18 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007388/0.02331, allocations: 379.7 kB / 0.8885 GB, free: 10.79 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.109e-05/0.02335, allocations: 23.84 kB / 0.8886 GB, free: 10.77 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.178e-05/0.0234, allocations: 15.94 kB / 0.8886 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002461/0.02365, allocations: 31.97 kB / 0.8886 GB, free: 10.72 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001538/0.0238, allocations: 51.91 kB / 0.8886 GB, free: 10.67 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.185e-05/0.02383, allocations: 11.98 kB / 0.8887 GB, free: 10.66 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001923/0.02402, allocations: 192.5 kB / 0.8888 GB, free: 10.47 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.02402, allocations: 0 / 0.8888 GB, free: 10.47 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003131/0.02434, allocations: 59.89 kB / 0.8889 GB, free: 10.41 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 0.0001725/0.02451, allocations: 119.9 kB / 0.889 GB, free: 10.29 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0009211/0.02543, allocations: 498.5 kB / 0.8895 GB, free: 9.742 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.02543, allocations: 0 / 0.8895 GB, free: 9.742 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003336/0.02577, allocations: 119.5 kB / 0.8896 GB, free: 9.621 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004073/0.02617, allocations: 50.7 kB / 0.8897 GB, free: 9.574 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009565/0.02713, allocations: 399.1 kB / 0.89 GB, free: 9.156 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001583/0.02729, allocations: 130.2 kB / 0.8902 GB, free: 9.008 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001008/0.02739, allocations: 17.95 kB / 0.8902 GB, free: 8.992 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001099/0.0275, allocations: 36.48 kB / 0.8902 GB, free: 8.957 MB / 0.8542 GB Notification: Performance of SimCode: time 7.82e-07/0.0275, allocations: 0 / 0.8902 GB, free: 8.957 MB / 0.8542 GB Notification: Performance of Templates: time 0.009232/0.03673, allocations: 3.698 MB / 0.8938 GB, free: 5.34 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","/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: 9.266432656091638]