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.001666/0.001666, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001849/0.001849, allocations: 211.5 kB / 22.24 MB, free: 4.855 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.571/1.571, allocations: 230.6 MB / 256 MB, free: 7.805 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.329/3.329, allocations: 0.4892 GB / 0.7943 GB, free: 35.52 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.002113/0.002113, allocations: 74.8 kB / 1.154 GB, free: 25.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3862/0.3883, allocations: 176.1 MB / 1.326 GB, free: 1.812 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.004017/0.3923, allocations: 2.103 MB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00122/0.3935, allocations: 0.5884 MB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001267/0.3936, allocations: 7.938 kB / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001457/0.3938, allocations: 27.66 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001149/0.3939, allocations: 43.59 kB / 1.328 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003323/0.3942, allocations: 103.9 kB / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004074/0.3946, allocations: 299.3 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002583/0.3949, allocations: 91.59 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001638/0.3951, allocations: 119.6 kB / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001858/0.3952, allocations: 127.4 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.72e-05/0.3953, allocations: 28 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 5.518e-05/0.3954, allocations: 32 kB / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.565e-05/0.3954, allocations: 63.81 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001458/0.3956, allocations: 111.4 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004224/0.396, allocations: 318.8 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.396, allocations: 4 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.994e-06/0.396, allocations: 4 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.325e-06/0.396, allocations: 0 / 1.33 GB, free: 13.75 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.001293/0.3973, allocations: 0.6083 MB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.3974, allocations: 15.97 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.659e-05/0.3974, allocations: 36.73 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003772/0.3978, allocations: 202.7 kB / 1.33 GB, free: 12.82 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.499e-05/0.3979, allocations: 20.8 kB / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.673e-05/0.3979, allocations: 24.38 kB / 1.33 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007343/0.3986, allocations: 380.6 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.3987, allocations: 0 / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.263e-05/0.3987, allocations: 12 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.3987, allocations: 4 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007249/0.3994, allocations: 213.6 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001184/0.4006, allocations: 0.5333 MB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007032/0.4013, allocations: 198.4 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003316/0.4016, allocations: 96.77 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.564e-05/0.4017, allocations: 4 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005323/0.4022, allocations: 203.1 kB / 1.332 GB, free: 11.05 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 1.743e-06/0.4022, allocations: 0 / 1.332 GB, free: 11.05 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.001177/0.4034, allocations: 351.9 kB / 1.332 GB, free: 10.71 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/0.4035, allocations: 136.5 kB / 1.332 GB, free: 10.54 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002463/0.4037, allocations: 223.8 kB / 1.333 GB, free: 10.31 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.636e-05/0.4038, allocations: 37.7 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001536/0.4039, allocations: 164.6 kB / 1.333 GB, free: 10.11 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.312e-05/0.404, allocations: 59.61 kB / 1.333 GB, free: 10.05 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001219/0.4041, allocations: 69.97 kB / 1.333 GB, free: 9.973 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001834/0.4043, allocations: 334.8 kB / 1.333 GB, free: 9.637 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004621/0.4048, allocations: 201.2 kB / 1.333 GB, free: 9.422 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005497/0.4053, allocations: 358.9 kB / 1.334 GB, free: 9.008 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000751/0.4061, allocations: 315 kB / 1.334 GB, free: 8.664 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.4061, allocations: 0 / 1.334 GB, free: 8.664 MB / 1.029 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001052/0.4071, allocations: 0.5132 MB / 1.335 GB, free: 8.109 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 8.263e-05/0.4072, allocations: 93.09 kB / 1.335 GB, free: 8 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.4072, allocations: 4 kB / 1.335 GB, free: 7.996 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/0.4072, allocations: 3.938 kB / 1.335 GB, free: 7.992 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002647/0.4075, allocations: 56.05 kB / 1.335 GB, free: 7.938 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.4075, allocations: 4 kB / 1.335 GB, free: 7.934 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003465/0.4078, allocations: 67.72 kB / 1.335 GB, free: 7.867 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.687e-05/0.4079, allocations: 8 kB / 1.335 GB, free: 7.859 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.0001877/0.4081, allocations: 163 kB / 1.335 GB, free: 7.691 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.187e-05/0.4081, allocations: 23.86 kB / 1.335 GB, free: 7.668 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008252/0.4089, allocations: 279.1 kB / 1.335 GB, free: 7.391 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.4089, allocations: 4.031 kB / 1.335 GB, free: 7.387 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.4089, allocations: 3.938 kB / 1.335 GB, free: 7.383 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.4089, allocations: 4 kB / 1.335 GB, free: 7.379 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001094/0.41, allocations: 0.5345 MB / 1.336 GB, free: 6.809 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.41, allocations: 3.938 kB / 1.336 GB, free: 6.805 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001641/0.4102, allocations: 31.95 kB / 1.336 GB, free: 6.773 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.4102, allocations: 0 / 1.336 GB, free: 6.773 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.421e-05/0.4102, allocations: 15.98 kB / 1.336 GB, free: 6.758 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.4102, allocations: 0 / 1.336 GB, free: 6.758 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.4102, allocations: 0 / 1.336 GB, free: 6.758 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008789/0.4111, allocations: 356.7 kB / 1.336 GB, free: 6.395 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.396e-05/0.4112, allocations: 27.78 kB / 1.336 GB, free: 6.367 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.931e-05/0.4112, allocations: 8 kB / 1.336 GB, free: 6.359 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003263/0.4115, allocations: 51.94 kB / 1.336 GB, free: 6.309 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001328/0.4117, allocations: 51.91 kB / 1.336 GB, free: 6.258 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.564e-05/0.4117, allocations: 7.984 kB / 1.336 GB, free: 6.25 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001537/0.4118, allocations: 152.6 kB / 1.337 GB, free: 6.102 MB / 1.029 GB Notification: Performance of sort global known variables: time 5e-08/0.4118, allocations: 0 / 1.337 GB, free: 6.102 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003257/0.4122, allocations: 59.89 kB / 1.337 GB, free: 6.043 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.0001704/0.4123, allocations: 123.2 kB / 1.337 GB, free: 5.91 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001015/0.4134, allocations: 0.4955 MB / 1.337 GB, free: 5.359 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.4134, allocations: 320 / 1.337 GB, free: 5.359 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000394/0.4138, allocations: 123.8 kB / 1.337 GB, free: 5.238 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003949/0.4141, allocations: 33.61 kB / 1.337 GB, free: 5.207 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009373/0.4151, allocations: 396.2 kB / 1.338 GB, free: 4.801 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001391/0.4152, allocations: 137.9 kB / 1.338 GB, free: 4.648 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001172/0.4153, allocations: 21.95 kB / 1.338 GB, free: 4.621 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.487e-05/0.4154, allocations: 31.42 kB / 1.338 GB, free: 4.59 MB / 1.029 GB Notification: Performance of SimCode: time 3.31e-07/0.4154, allocations: 0 / 1.338 GB, free: 4.59 MB / 1.029 GB Notification: Performance of Templates: time 0.008905/0.4243, allocations: 4.076 MB / 1.342 GB, free: 0.5781 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.716708013787866]