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.0009867/0.0009867, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.001007/0.001007, allocations: 165 kB / 23.82 MB, free: 0.7422 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.003/1.003, allocations: 177.1 MB / 204.2 MB, free: 5.242 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.817/1.817, allocations: 359 MB / 0.6052 GB, free: 10.99 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.794e-06/1.794e-06, allocations: 0 / 0.7871 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.057e-05/3.236e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.003559/0.003591, allocations: 2.156 MB / 0.7893 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.000855/0.004446, allocations: 0.5766 MB / 0.7898 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.004547, allocations: 4 kB / 0.7898 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000111/0.004658, allocations: 24.48 kB / 0.7898 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.721e-05/0.004735, allocations: 41.69 kB / 0.7899 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002412/0.004976, allocations: 87.88 kB / 0.79 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002504/0.005227, allocations: 263.3 kB / 0.7902 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002039/0.005431, allocations: 92.45 kB / 0.7903 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001621/0.005593, allocations: 157.2 kB / 0.7905 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.005697, allocations: 91.73 kB / 0.7905 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.706e-05/0.005734, allocations: 24 kB / 0.7906 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 2.858e-05/0.005763, allocations: 28 kB / 0.7906 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.986e-05/0.005813, allocations: 65.34 kB / 0.7907 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.222e-05/0.005885, allocations: 75.81 kB / 0.7907 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002173/0.006102, allocations: 191.3 kB / 0.7909 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.006105, allocations: 0 / 0.7909 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.81e-07/0.006106, allocations: 0.625 kB / 0.7909 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.006111, allocations: 0 / 0.7909 GB, free: 8.574 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.0006993/0.00681, allocations: 0.6556 MB / 0.7915 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.006851, allocations: 12.03 kB / 0.7916 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.403e-05/0.006925, allocations: 41.33 kB / 0.7916 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002397/0.007164, allocations: 205.4 kB / 0.7918 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.53e-05/0.00719, allocations: 22.09 kB / 0.7918 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.972e-05/0.007219, allocations: 20.38 kB / 0.7918 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003595/0.007579, allocations: 287.4 kB / 0.7921 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.007588, allocations: 0.8125 kB / 0.7921 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.007607, allocations: 9.219 kB / 0.7921 GB, free: 7.227 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.007616, allocations: 7.984 kB / 0.7921 GB, free: 7.219 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001305/0.007747, allocations: 63.89 kB / 0.7922 GB, free: 7.156 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007058/0.008453, allocations: 0.5239 MB / 0.7927 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002514/0.008704, allocations: 116.3 kB / 0.7928 GB, free: 6.473 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.869e-05/0.008763, allocations: 39.67 kB / 0.7928 GB, free: 6.43 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.008785, allocations: 0.5625 kB / 0.7928 GB, free: 6.43 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001807/0.008966, allocations: 136.2 kB / 0.793 GB, free: 6.285 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=18): time 1.813e-06/0.008967, allocations: 0 / 0.793 GB, free: 6.285 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18): time 0.0003201/0.009288, allocations: 181.4 kB / 0.7932 GB, free: 6.102 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.2e-05/0.00934, allocations: 107.8 kB / 0.7933 GB, free: 5.973 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001514/0.009491, allocations: 255.3 kB / 0.7935 GB, free: 5.707 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.573e-05/0.009517, allocations: 37.7 kB / 0.7935 GB, free: 5.664 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.55e-05/0.009612, allocations: 200 kB / 0.7937 GB, free: 5.465 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.328e-05/0.009645, allocations: 47.67 kB / 0.7938 GB, free: 5.418 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.238e-05/0.009728, allocations: 72.14 kB / 0.7938 GB, free: 5.34 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.009853, allocations: 0.5078 MB / 0.7943 GB, free: 4.82 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001122/0.009965, allocations: 119.6 kB / 0.7944 GB, free: 4.684 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001536/0.01012, allocations: 258.5 kB / 0.7947 GB, free: 4.367 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000381/0.0105, allocations: 223.5 kB / 0.7949 GB, free: 4.109 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.0105, allocations: 0 / 0.7949 GB, free: 4.109 MB / 0.7448 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003433/0.01085, allocations: 381.4 kB / 0.7953 GB, free: 3.695 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.602e-05/0.01089, allocations: 93.09 kB / 0.7954 GB, free: 3.586 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.0109, allocations: 4 kB / 0.7954 GB, free: 3.582 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.01091, allocations: 5.562 kB / 0.7954 GB, free: 3.578 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.01104, allocations: 47.91 kB / 0.7954 GB, free: 3.531 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.01105, allocations: 4 kB / 0.7954 GB, free: 3.527 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001288/0.01118, allocations: 52.78 kB / 0.7955 GB, free: 3.477 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.956e-05/0.0112, allocations: 17.33 kB / 0.7955 GB, free: 3.461 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,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.0001012/0.0113, allocations: 182.5 kB / 0.7957 GB, free: 3.273 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.73e-05/0.01132, allocations: 24.41 kB / 0.7957 GB, free: 3.25 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002194/0.01154, allocations: 173.6 kB / 0.7958 GB, free: 3.074 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.01155, allocations: 0 / 0.7958 GB, free: 3.074 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.01155, allocations: 0.9062 kB / 0.7958 GB, free: 3.074 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.01155, allocations: 0 / 0.7958 GB, free: 3.074 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003336/0.01189, allocations: 455.5 kB / 0.7963 GB, free: 2.594 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.01189, allocations: 3.938 kB / 0.7963 GB, free: 2.59 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.856e-05/0.01196, allocations: 23.92 kB / 0.7963 GB, free: 2.566 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.01196, allocations: 4 kB / 0.7963 GB, free: 2.562 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.01197, allocations: 7.984 kB / 0.7963 GB, free: 2.555 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.01197, allocations: 0 / 0.7963 GB, free: 2.555 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.01198, allocations: 4 kB / 0.7963 GB, free: 2.551 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002117/0.01219, allocations: 299.6 kB / 0.7966 GB, free: 2.238 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.876e-05/0.01221, allocations: 19.84 kB / 0.7966 GB, free: 2.219 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.929e-05/0.01223, allocations: 11.98 kB / 0.7966 GB, free: 2.207 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.01234, allocations: 29.03 kB / 0.7967 GB, free: 2.18 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.646e-05/0.01243, allocations: 44.89 kB / 0.7967 GB, free: 2.137 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.435e-05/0.01245, allocations: 11.98 kB / 0.7967 GB, free: 2.125 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.546e-05/0.01253, allocations: 168.2 kB / 0.7969 GB, free: 1.961 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01253, allocations: 5.125 kB / 0.7969 GB, free: 1.957 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002151/0.01274, allocations: 59.88 kB / 0.7969 GB, free: 1.898 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 9.683e-05/0.01284, allocations: 114.6 kB / 0.7971 GB, free: 1.781 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003172/0.01316, allocations: 372 kB / 0.7974 GB, free: 1.359 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.01316, allocations: 1.625 kB / 0.7974 GB, free: 1.359 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.274e-05/0.01325, allocations: 64.38 kB / 0.7975 GB, free: 1.293 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002602/0.01351, allocations: 40.69 kB / 0.7975 GB, free: 1.254 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007336/0.01424, allocations: 374.6 kB / 0.7979 GB, free: 0.8672 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.827e-05/0.01429, allocations: 75.98 kB / 0.7979 GB, free: 0.7734 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.984e-05/0.01435, allocations: 13.64 kB / 0.798 GB, free: 0.7617 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.893e-05/0.01442, allocations: 28.48 kB / 0.798 GB, free: 0.7344 MB / 0.7448 GB Notification: Performance of SimCode: time 1.002e-06/0.01442, allocations: 4 kB / 0.798 GB, free: 0.7305 MB / 0.7448 GB Notification: Performance of Templates: time 0.005263/0.01969, allocations: 3.427 MB / 0.8013 GB, free: 13.36 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.143687636125833]