Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997.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.001852/0.001852, allocations: 106.4 kB / 18.94 MB, free: 2.957 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.002561/0.002561, allocations: 219 kB / 22.25 MB, free: 5.133 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.494/1.494, allocations: 230.6 MB / 256 MB, free: 8.023 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.277/3.277, allocations: 0.49 GB / 0.7951 GB, free: 33.36 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.RefrigerantCycle.Frosting.Validation.WetterAfjei1997,tolerance=1e-08,outputFormat="mat",numberOfIntervals=35,variableFilter="time|sigBus1.TEvaInMea|iceFacAir|iceFacWat",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997") translateModel(Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997,tolerance=1e-08,outputFormat="mat",numberOfIntervals=35,variableFilter="time|sigBus1.TEvaInMea|iceFacAir|iceFacWat",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997") [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.003468/0.003468, allocations: 65.03 kB / 1.154 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3904/0.3939, allocations: 176.1 MB / 1.326 GB, free: 1.445 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997): time 0.003471/0.3973, allocations: 1.894 MB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001032/0.3984, allocations: 0.5412 MB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.19e-05/0.3984, allocations: 4 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 6.695e-05/0.3985, allocations: 15.8 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004042/0.3989, allocations: 99.47 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 7.302e-05/0.399, allocations: 43.95 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001749/0.3992, allocations: 135.6 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002385/0.3994, allocations: 88.55 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.955e-05/0.3995, allocations: 59.72 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.775e-05/0.3996, allocations: 63.7 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.039e-05/0.3996, allocations: 16 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002169/0.3998, allocations: 99.92 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.711e-05/0.3999, allocations: 35.86 kB / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.256e-05/0.4, allocations: 75.61 kB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003705/0.4003, allocations: 247.1 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.4003, allocations: 3.984 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.393e-06/0.4003, allocations: 0 / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.077e-05/0.4003, allocations: 0 / 1.33 GB, free: 14.03 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0007032/0.401, allocations: 397.4 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.4011, allocations: 8.031 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.584e-05/0.4011, allocations: 16.84 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002448/0.4014, allocations: 150.3 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.476e-05/0.4014, allocations: 20.38 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.785e-05/0.4014, allocations: 16.38 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003452/0.4018, allocations: 153.8 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.4018, allocations: 192 / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.105e-05/0.4018, allocations: 11.94 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.4018, allocations: 4 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003008/0.4021, allocations: 119.8 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000791/0.4029, allocations: 492.2 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001892/0.4031, allocations: 58.53 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.4032, allocations: 28.94 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002562/0.4035, allocations: 31.97 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.994e-05/0.4035, allocations: 34.5 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.4035, allocations: 0 / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of matching and sorting (n=5): time 0.0004308/0.4039, allocations: 121.5 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.072e-05/0.404, allocations: 51.41 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/0.4041, allocations: 144 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.653e-05/0.4041, allocations: 25.7 kB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.883e-05/0.4042, allocations: 147.6 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.616e-05/0.4042, allocations: 11.89 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.663e-05/0.4043, allocations: 25.7 kB / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.4045, allocations: 314.8 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001045/0.4046, allocations: 27.97 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001215/0.4047, allocations: 55.41 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002395/0.4049, allocations: 79.33 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.4049, allocations: 4 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002704/0.4052, allocations: 109.5 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.4052, allocations: 11.98 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.4052, allocations: 3.938 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.4052, allocations: 0 / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.4053, allocations: 19.98 kB / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.4054, allocations: 0 / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.608e-05/0.4054, allocations: 19.98 kB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.221e-05/0.4055, allocations: 4.297 kB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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.0001206/0.4056, allocations: 126.3 kB / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.232e-05/0.4056, allocations: 7.953 kB / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003014/0.4059, allocations: 102 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.4059, allocations: 4 kB / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.4059, allocations: 4 kB / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.4059, allocations: 0 / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002494/0.4062, allocations: 184.7 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.4062, allocations: 0 / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.715e-05/0.4062, allocations: 15.98 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.4062, allocations: 3.938 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.4063, allocations: 3.938 kB / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.4063, allocations: 0 / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.199e-05/0.4063, allocations: 3.938 kB / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002899/0.4066, allocations: 187.5 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.376e-05/0.4066, allocations: 15.94 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.928e-05/0.4066, allocations: 3.938 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.504e-05/0.4067, allocations: 4 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.541e-05/0.4068, allocations: 11.98 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.4068, allocations: 0 / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.422e-05/0.4068, allocations: 109.3 kB / 1.333 GB, free: 10.31 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4068, allocations: 3.938 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003195/0.4072, allocations: 59.69 kB / 1.333 GB, free: 10.25 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0002247/0.4074, allocations: 135.1 kB / 1.333 GB, free: 10.11 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002758/0.4077, allocations: 67.88 kB / 1.333 GB, free: 10.04 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4077, allocations: 192 / 1.333 GB, free: 10.04 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.997e-05/0.4078, allocations: 31.92 kB / 1.333 GB, free: 10.01 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003389/0.4081, allocations: 15.12 kB / 1.333 GB, free: 9.996 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00055/0.4087, allocations: 245 kB / 1.334 GB, free: 9.73 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003912/0.409, allocations: 0.708 MB / 1.334 GB, free: 8.996 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.111e-05/0.4091, allocations: 11.19 kB / 1.334 GB, free: 8.988 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.866e-05/0.4091, allocations: 15.44 kB / 1.334 GB, free: 8.973 MB / 1.029 GB Notification: Performance of SimCode: time 3.3e-07/0.4091, allocations: 4 kB / 1.334 GB, free: 8.969 MB / 1.029 GB Notification: Performance of Templates: time 0.004925/0.4141, allocations: 1.407 MB / 1.336 GB, free: 7.609 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997.sim & ./Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatPumps_ModularReversible_RefrigerantCycle_Frosting_Validation_WetterAfjei1997.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997.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.22606978006661]