Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001729/0.001729, allocations: 108.1 kB / 16.45 MB, free: 6.5 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.002184/0.002184, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.534/1.534, allocations: 230.6 MB / 252.8 MB, free: 8.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.335/3.335, allocations: 0.4899 GB / 0.7915 GB, free: 33.21 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002093/0.002093, allocations: 71.73 kB / 1.149 GB, free: 26.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3938/0.3959, allocations: 176.1 MB / 1.321 GB, free: 2.789 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.0046/0.4005, allocations: 2.184 MB / 1.323 GB, free: 0.5898 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001519/0.402, allocations: 0.6118 MB / 1.324 GB, free: 15.97 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001966/0.4022, allocations: 7.844 kB / 1.324 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001833/0.4024, allocations: 27.67 kB / 1.324 GB, free: 15.94 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001325/0.4025, allocations: 43.59 kB / 1.324 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003522/0.4028, allocations: 103.9 kB / 1.324 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003929/0.4032, allocations: 295.3 kB / 1.324 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002703/0.4035, allocations: 99.11 kB / 1.325 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000186/0.4037, allocations: 131.5 kB / 1.325 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000194/0.4039, allocations: 135.4 kB / 1.325 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.504e-05/0.4039, allocations: 32 kB / 1.325 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.485e-05/0.404, allocations: 28 kB / 1.325 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.489e-05/0.4041, allocations: 63.75 kB / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001505/0.4042, allocations: 135.3 kB / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004005/0.4046, allocations: 322.7 kB / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.4046, allocations: 0 / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.412e-06/0.4046, allocations: 0 / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.143e-06/0.4046, allocations: 0 / 1.325 GB, free: 14.57 MB / 1.029 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.001373/0.406, allocations: 0.6798 MB / 1.326 GB, free: 13.82 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.406, allocations: 12.03 kB / 1.326 GB, free: 13.81 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.539e-05/0.4061, allocations: 32.75 kB / 1.326 GB, free: 13.78 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004624/0.4066, allocations: 268.5 kB / 1.326 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.929e-05/0.4066, allocations: 16.81 kB / 1.326 GB, free: 13.46 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.91e-05/0.4067, allocations: 24.38 kB / 1.326 GB, free: 13.44 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007181/0.4074, allocations: 303.5 kB / 1.327 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.4074, allocations: 0 / 1.327 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.637e-05/0.4074, allocations: 11.98 kB / 1.327 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.4075, allocations: 4 kB / 1.327 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007474/0.4082, allocations: 213.6 kB / 1.327 GB, free: 12.9 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001317/0.4095, allocations: 0.6701 MB / 1.328 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007422/0.4103, allocations: 198.4 kB / 1.328 GB, free: 11.97 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003594/0.4106, allocations: 93 kB / 1.328 GB, free: 11.88 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.41e-05/0.4107, allocations: 7.984 kB / 1.328 GB, free: 11.87 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000573/0.4112, allocations: 200.8 kB / 1.328 GB, free: 11.66 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 1.813e-06/0.4112, allocations: 0 / 1.328 GB, free: 11.66 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.001245/0.4125, allocations: 355.1 kB / 1.328 GB, free: 11.31 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001069/0.4126, allocations: 136.5 kB / 1.329 GB, free: 11.15 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002584/0.4128, allocations: 220.2 kB / 1.329 GB, free: 10.93 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.643e-05/0.4129, allocations: 37.7 kB / 1.329 GB, free: 10.88 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.413, allocations: 164.4 kB / 1.329 GB, free: 10.72 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.58e-05/0.4131, allocations: 63.52 kB / 1.329 GB, free: 10.66 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001263/0.4132, allocations: 69.97 kB / 1.329 GB, free: 10.58 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001706/0.4134, allocations: 330.8 kB / 1.329 GB, free: 10.25 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004084/0.4138, allocations: 120.2 kB / 1.329 GB, free: 10.13 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004776/0.4143, allocations: 184.4 kB / 1.33 GB, free: 9.926 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007852/0.4151, allocations: 311.1 kB / 1.33 GB, free: 9.586 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.4151, allocations: 0 / 1.33 GB, free: 9.586 MB / 1.029 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001082/0.4161, allocations: 447.4 kB / 1.33 GB, free: 9.125 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 8.358e-05/0.4162, allocations: 93.05 kB / 1.33 GB, free: 9.016 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.4162, allocations: 0 / 1.33 GB, free: 9.016 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.4163, allocations: 4 kB / 1.33 GB, free: 9.012 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002685/0.4165, allocations: 48.11 kB / 1.33 GB, free: 8.965 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.4165, allocations: 3.938 kB / 1.331 GB, free: 8.961 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003783/0.4169, allocations: 79.7 kB / 1.331 GB, free: 8.883 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.047e-05/0.4169, allocations: 8 kB / 1.331 GB, free: 8.875 MB / 1.029 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,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,antFre.ySetOn.y,$PRE.antFre.ySetOn.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.0001908/0.4171, allocations: 157.8 kB / 1.331 GB, free: 8.715 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.708e-05/0.4172, allocations: 23.8 kB / 1.331 GB, free: 8.691 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008952/0.4181, allocations: 275.3 kB / 1.331 GB, free: 8.414 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.4181, allocations: 7.984 kB / 1.331 GB, free: 8.406 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.4181, allocations: 4 kB / 1.331 GB, free: 8.402 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.4181, allocations: 0 / 1.331 GB, free: 8.402 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001293/0.4194, allocations: 0.6286 MB / 1.332 GB, free: 7.719 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.4194, allocations: 0 / 1.332 GB, free: 7.719 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001745/0.4196, allocations: 27.97 kB / 1.332 GB, free: 7.691 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.4196, allocations: 4 kB / 1.332 GB, free: 7.688 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.294e-05/0.4196, allocations: 7.984 kB / 1.332 GB, free: 7.68 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.4196, allocations: 0 / 1.332 GB, free: 7.68 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.4196, allocations: 4 kB / 1.332 GB, free: 7.676 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008867/0.4205, allocations: 369.1 kB / 1.332 GB, free: 7.301 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.617e-05/0.4206, allocations: 100.8 kB / 1.332 GB, free: 7.184 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.018e-05/0.4206, allocations: 8 kB / 1.332 GB, free: 7.176 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003353/0.4209, allocations: 55.92 kB / 1.332 GB, free: 7.121 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001473/0.4211, allocations: 43.94 kB / 1.332 GB, free: 7.078 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.058e-05/0.4211, allocations: 15.98 kB / 1.332 GB, free: 7.062 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001512/0.4213, allocations: 147.5 kB / 1.332 GB, free: 6.918 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4213, allocations: 4 kB / 1.332 GB, free: 6.914 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003452/0.4216, allocations: 63.89 kB / 1.332 GB, free: 6.852 MB / 1.029 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.ySetOn.y,antFre.hys.y,ySetPul.T_start,ySetPul.count,TConInEmu.T_start,TConInEmu.count,TEvaOutEmu.T_start,TEvaOutEmu.count) * Number of discrete states: 7 (TEvaOutEmu.count,TConInEmu.count,ySetPul.count,antFre.hys.y,antFre.ySetOn.y,hys.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.0002008/0.4218, allocations: 115.2 kB / 1.333 GB, free: 6.727 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001045/0.4229, allocations: 423.1 kB / 1.333 GB, free: 6.277 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4229, allocations: 0 / 1.333 GB, free: 6.277 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0004061/0.4233, allocations: 116.1 kB / 1.333 GB, free: 6.164 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004196/0.4237, allocations: 51.78 kB / 1.333 GB, free: 6.113 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/0.4247, allocations: 397.8 kB / 1.334 GB, free: 5.703 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004623/0.4252, allocations: 0.7477 MB / 1.334 GB, free: 4.93 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001044/0.4253, allocations: 25.94 kB / 1.334 GB, free: 4.906 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001009/0.4254, allocations: 31.42 kB / 1.334 GB, free: 4.875 MB / 1.029 GB Notification: Performance of SimCode: time 6.11e-07/0.4254, allocations: 0 / 1.334 GB, free: 4.875 MB / 1.029 GB Notification: Performance of Templates: time 0.008376/0.4338, allocations: 3.688 MB / 1.338 GB, free: 1.211 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.sim & ./Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatPumps_ModularReversible_Controls_Safety_Examples_AntiFreeze.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.489829482976347]