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.001197/0.001197, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001375/0.001375, allocations: 215.2 kB / 22.25 MB, free: 5.258 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.346/1.346, allocations: 230.6 MB / 256 MB, free: 7.789 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 2.906/2.906, allocations: 0.49 GB / 0.7951 GB, free: 35.42 MB / 0.6231 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatPumps_ModularReversible_Controls_Safety_Examples_AntiFreeze",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatPumps_ModularReversible_Controls_Safety_Examples_AntiFreeze",fmuType="me",version="2.0",platforms={"static"}) [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.001861/0.001861, allocations: 70.48 kB / 1.154 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2927/0.2945, allocations: 176.1 MB / 1.326 GB, free: 1.465 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.003396/0.2979, allocations: 2.125 MB / 1.328 GB, free: 15.33 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001067/0.299, allocations: 0.5844 MB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.2991, allocations: 3.938 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001096/0.2992, allocations: 23.67 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001051/0.2993, allocations: 51.59 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00025/0.2995, allocations: 107.8 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003349/0.2999, allocations: 299.2 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002307/0.3001, allocations: 95.88 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001459/0.3003, allocations: 131.5 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001658/0.3004, allocations: 131.4 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.673e-05/0.3005, allocations: 32 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.022e-05/0.3005, allocations: 32 kB / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.217e-05/0.3006, allocations: 67.81 kB / 1.329 GB, free: 13.78 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001121/0.3007, allocations: 107.4 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003457/0.301, allocations: 326.7 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.301, allocations: 0 / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.152e-06/0.301, allocations: 0 / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.301, allocations: 3.938 kB / 1.33 GB, free: 13.35 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.001255/0.3023, allocations: 0.6084 MB / 1.33 GB, free: 12.69 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.3023, allocations: 8.031 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.351e-05/0.3024, allocations: 63.16 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.163e-05/0.3025, allocations: 32.75 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003599/0.3029, allocations: 202.7 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.698e-05/0.3029, allocations: 16.81 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.16e-05/0.3029, allocations: 28.38 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007225/0.3037, allocations: 384.4 kB / 1.331 GB, free: 11.9 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.3037, allocations: 0 / 1.331 GB, free: 11.9 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.152e-05/0.3037, allocations: 11.98 kB / 1.331 GB, free: 11.89 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.3037, allocations: 4 kB / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006757/0.3044, allocations: 209.6 kB / 1.331 GB, free: 11.68 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001147/0.3055, allocations: 0.5844 MB / 1.332 GB, free: 11.05 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006667/0.3062, allocations: 206.3 kB / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003056/0.3065, allocations: 88.77 kB / 1.332 GB, free: 10.75 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.3065, allocations: 4 kB / 1.332 GB, free: 10.75 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004916/0.307, allocations: 200.8 kB / 1.332 GB, free: 10.54 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 1.753e-06/0.307, allocations: 4 kB / 1.332 GB, free: 10.54 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.001096/0.3081, allocations: 342.1 kB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.297e-05/0.3082, allocations: 140.5 kB / 1.333 GB, free: 10.03 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002278/0.3084, allocations: 231.7 kB / 1.333 GB, free: 9.793 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.243e-05/0.3085, allocations: 37.7 kB / 1.333 GB, free: 9.75 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/0.3086, allocations: 165 kB / 1.333 GB, free: 9.586 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.599e-05/0.3087, allocations: 59.52 kB / 1.333 GB, free: 9.527 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000119/0.3088, allocations: 69.97 kB / 1.333 GB, free: 9.449 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.3089, allocations: 334.8 kB / 1.334 GB, free: 9.113 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004132/0.3093, allocations: 193.3 kB / 1.334 GB, free: 8.906 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004978/0.3098, allocations: 362.9 kB / 1.334 GB, free: 8.488 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00068/0.3105, allocations: 322.5 kB / 1.335 GB, free: 8.137 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3105, allocations: 0 / 1.335 GB, free: 8.137 MB / 1.029 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009778/0.3115, allocations: 0.517 MB / 1.335 GB, free: 7.578 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 7.673e-05/0.3116, allocations: 94.81 kB / 1.335 GB, free: 7.469 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.3116, allocations: 4 kB / 1.335 GB, free: 7.465 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.3116, allocations: 0 / 1.335 GB, free: 7.465 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002379/0.3118, allocations: 47.89 kB / 1.335 GB, free: 7.418 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.988e-06/0.3118, allocations: 4 kB / 1.335 GB, free: 7.414 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003239/0.3122, allocations: 67.81 kB / 1.335 GB, free: 7.348 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.762e-05/0.3122, allocations: 12 kB / 1.335 GB, free: 7.336 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.0001685/0.3124, allocations: 156.4 kB / 1.335 GB, free: 7.172 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.037e-05/0.3124, allocations: 27.8 kB / 1.336 GB, free: 7.145 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007931/0.3132, allocations: 284.6 kB / 1.336 GB, free: 6.863 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.3132, allocations: 0 / 1.336 GB, free: 6.863 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.3132, allocations: 4 kB / 1.336 GB, free: 6.859 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.3132, allocations: 0 / 1.336 GB, free: 6.859 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001094/0.3143, allocations: 0.5845 MB / 1.336 GB, free: 6.227 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.3143, allocations: 4 kB / 1.336 GB, free: 6.223 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001662/0.3145, allocations: 31.97 kB / 1.336 GB, free: 6.191 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.3145, allocations: 0 / 1.336 GB, free: 6.191 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.201e-05/0.3145, allocations: 7.984 kB / 1.336 GB, free: 6.184 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3145, allocations: 0 / 1.336 GB, free: 6.184 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.287e-06/0.3145, allocations: 3.938 kB / 1.336 GB, free: 6.18 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007697/0.3153, allocations: 364.7 kB / 1.337 GB, free: 5.809 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.362e-05/0.3153, allocations: 19.86 kB / 1.337 GB, free: 5.789 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.819e-05/0.3154, allocations: 8 kB / 1.337 GB, free: 5.781 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003176/0.3157, allocations: 51.92 kB / 1.337 GB, free: 5.73 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001437/0.3158, allocations: 43.92 kB / 1.337 GB, free: 5.688 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.835e-05/0.3159, allocations: 15.98 kB / 1.337 GB, free: 5.672 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001509/0.316, allocations: 148.7 kB / 1.337 GB, free: 5.527 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.316, allocations: 0 / 1.337 GB, free: 5.527 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003373/0.3163, allocations: 63.89 kB / 1.337 GB, free: 5.465 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.001542/0.3179, allocations: 1.034 MB / 1.338 GB, free: 4.402 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000939/0.3188, allocations: 0.4967 MB / 1.339 GB, free: 3.852 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.3188, allocations: 4.062 kB / 1.339 GB, free: 3.848 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003659/0.3192, allocations: 115.8 kB / 1.339 GB, free: 3.734 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003702/0.3196, allocations: 38.28 kB / 1.339 GB, free: 3.699 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004413/0.324, allocations: 3.095 MB / 1.342 GB, free: 408 kB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001298/0.3241, allocations: 138.2 kB / 1.342 GB, free: 252 kB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001082/0.3242, allocations: 21.94 kB / 1.342 GB, free: 232 kB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001454/0.3244, allocations: 79.39 kB / 1.342 GB, free: 156 kB / 1.029 GB Notification: Performance of SimCode: time 6.22e-07/0.3244, allocations: 4 kB / 1.342 GB, free: 152 kB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03338/0.3577, allocations: 6.847 MB / 1.349 GB, free: 9.484 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.61/10.97, allocations: 2.406 kB / 1.349 GB, free: 9.484 MB / 1.045 GB " [Timeout remaining time 289] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_HeatPumps_ModularReversible_Controls_Safety_Examples_AntiFreeze_fmu --startTime=0 --stopTime=100 --stepSize=1 --timeout=400 --tolerance=1e-08 Buildings_12_Buildings_Fluid_HeatPumps_ModularReversible_Controls_Safety_Examples_AntiFreeze.fmu > Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe 2>&1) [Timeout 420.0] 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/jenkins1/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: 16.945302926003933]