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.002169/0.002169, allocations: 77.86 kB / 19.18 MB, free: 2.531 MB / 14.72 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.002356/0.002356, allocations: 169.6 kB / 22.46 MB, free: 5.363 MB / 14.72 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.463/1.463, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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 2.664/2.664, allocations: 359 MB / 0.6037 GB, free: 14.93 MB / 0.5762 GB " [Timeout remaining time 177] 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.583e-06/1.583e-06, allocations: 0 / 0.951 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.606e-05/2.764e-05, allocations: 4.953 kB / 0.951 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.005777/0.005805, allocations: 2.062 MB / 0.953 GB, free: 9.375 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001706/0.007511, allocations: 0.561 MB / 0.9536 GB, free: 8.809 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001863/0.007697, allocations: 7.938 kB / 0.9536 GB, free: 8.801 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001626/0.00786, allocations: 23.73 kB / 0.9536 GB, free: 8.777 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001702/0.00803, allocations: 43.53 kB / 0.9537 GB, free: 8.734 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004084/0.008439, allocations: 91.81 kB / 0.9538 GB, free: 8.645 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005342/0.008973, allocations: 271.3 kB / 0.954 GB, free: 8.379 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003119/0.009285, allocations: 79.64 kB / 0.9541 GB, free: 8.301 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003657/0.00965, allocations: 171.6 kB / 0.9543 GB, free: 8.133 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002349/0.009885, allocations: 87.75 kB / 0.9543 GB, free: 8.047 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.816e-05/0.009973, allocations: 24 kB / 0.9544 GB, free: 8.023 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.208e-05/0.01005, allocations: 28 kB / 0.9544 GB, free: 7.996 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.01015, allocations: 55.81 kB / 0.9544 GB, free: 7.941 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001669/0.01031, allocations: 79.75 kB / 0.9545 GB, free: 7.863 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005615/0.01087, allocations: 299.1 kB / 0.9548 GB, free: 7.57 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.01088, allocations: 0 / 0.9548 GB, free: 7.57 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.683e-06/0.01088, allocations: 0 / 0.9548 GB, free: 7.57 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.386e-06/0.01089, allocations: 0 / 0.9548 GB, free: 7.57 MB / 0.8575 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.001847/0.01274, allocations: 0.5772 MB / 0.9554 GB, free: 6.941 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.443e-05/0.01279, allocations: 8.031 kB / 0.9554 GB, free: 6.934 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001358/0.01293, allocations: 28.8 kB / 0.9554 GB, free: 6.906 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006064/0.01353, allocations: 189.9 kB / 0.9556 GB, free: 6.695 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.07e-05/0.01357, allocations: 20.69 kB / 0.9556 GB, free: 6.676 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.684e-05/0.01365, allocations: 20.36 kB / 0.9556 GB, free: 6.656 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001155/0.01481, allocations: 330.1 kB / 0.9559 GB, free: 6.309 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.01482, allocations: 192 / 0.9559 GB, free: 6.309 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.131e-05/0.01487, allocations: 8.125 kB / 0.9559 GB, free: 6.301 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.197e-05/0.01489, allocations: 4 kB / 0.9559 GB, free: 6.297 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001168/0.01605, allocations: 203.8 kB / 0.9561 GB, free: 6.098 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001794/0.01785, allocations: 491.8 kB / 0.9566 GB, free: 5.586 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001327/0.01917, allocations: 218.5 kB / 0.9568 GB, free: 5.363 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005303/0.0197, allocations: 84.77 kB / 0.9569 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.305e-05/0.01974, allocations: 4 kB / 0.9569 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008147/0.02055, allocations: 189.9 kB / 0.9571 GB, free: 5.078 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=18): time 3.106e-06/0.02056, allocations: 0 / 0.9571 GB, free: 5.078 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18): time 0.001814/0.02237, allocations: 337.1 kB / 0.9574 GB, free: 4.742 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001147/0.02248, allocations: 106.8 kB / 0.9575 GB, free: 4.613 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003313/0.02282, allocations: 208 kB / 0.9577 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.71e-05/0.02288, allocations: 41.64 kB / 0.9577 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001881/0.02307, allocations: 160.3 kB / 0.9579 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.844e-05/0.02315, allocations: 47.64 kB / 0.9579 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000176/0.02332, allocations: 61.69 kB / 0.958 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002279/0.02355, allocations: 334.8 kB / 0.9583 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006927/0.02425, allocations: 193.3 kB / 0.9585 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008159/0.02506, allocations: 323.7 kB / 0.9588 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001164/0.02623, allocations: 305.1 kB / 0.9591 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.798e-06/0.02623, allocations: 0 / 0.9591 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001627/0.02786, allocations: 0.5013 MB / 0.9596 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 9.945e-05/0.02796, allocations: 89.09 kB / 0.9597 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.02797, allocations: 4 kB / 0.9597 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.396e-05/0.02799, allocations: 0 / 0.9597 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003839/0.02837, allocations: 51.89 kB / 0.9597 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.02838, allocations: 0 / 0.9597 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005114/0.02889, allocations: 67.94 kB / 0.9598 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.104e-05/0.02895, allocations: 19.94 kB / 0.9598 GB, free: 2.043 MB / 0.8575 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.0002304/0.02918, allocations: 139.8 kB / 0.96 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.002e-05/0.02924, allocations: 19.89 kB / 0.96 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001269/0.0305, allocations: 264.8 kB / 0.9602 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.343e-06/0.03051, allocations: 4 kB / 0.9602 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.03052, allocations: 0 / 0.9602 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.03052, allocations: 0 / 0.9602 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001572/0.03209, allocations: 0.5016 MB / 0.9607 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.0321, allocations: 0 / 0.9607 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002758/0.03237, allocations: 35.89 kB / 0.9608 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.67e-06/0.03238, allocations: 4 kB / 0.9608 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.457e-05/0.0324, allocations: 0 / 0.9608 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.0324, allocations: 0 / 0.9608 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.03241, allocations: 0 / 0.9608 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001271/0.03368, allocations: 357.4 kB / 0.9611 GB, free: 0.6719 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.744e-05/0.03372, allocations: 19.86 kB / 0.9611 GB, free: 0.6523 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.816e-05/0.03379, allocations: 11.94 kB / 0.9611 GB, free: 0.6406 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004832/0.03428, allocations: 43.94 kB / 0.9612 GB, free: 0.5977 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001831/0.03446, allocations: 47.86 kB / 0.9612 GB, free: 0.5508 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-05/0.0345, allocations: 8 kB / 0.9612 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002048/0.0347, allocations: 136.5 kB / 0.9614 GB, free: 420 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1.71e-07/0.0347, allocations: 4 kB / 0.9614 GB, free: 416 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0005849/0.03529, allocations: 55.89 kB / 0.9614 GB, free: 360 kB / 0.8575 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.0002052/0.03549, allocations: 115.2 kB / 0.9615 GB, free: 236 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001567/0.03706, allocations: 487.1 kB / 0.962 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.03706, allocations: 0 / 0.962 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0006002/0.03766, allocations: 103.9 kB / 0.9621 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000639/0.0383, allocations: 50.06 kB / 0.9621 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001225/0.03952, allocations: 356.7 kB / 0.9625 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001921/0.03972, allocations: 129.2 kB / 0.9626 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.000142/0.03986, allocations: 13.64 kB / 0.9626 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001755/0.04003, allocations: 32.48 kB / 0.9626 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of SimCode: time 5e-07/0.04003, allocations: 0 / 0.9626 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of Templates: time 0.01171/0.05174, allocations: 3.409 MB / 0.966 GB, free: 11.64 MB / 0.8731 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 7.9384709894657135]