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.002337/0.002337, allocations: 103.6 kB / 18.95 MB, free: 2.688 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.00286/0.00286, allocations: 216.8 kB / 22.24 MB, free: 5.242 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.573/1.573, allocations: 230.6 MB / 256 MB, free: 7.797 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.384/3.384, allocations: 0.4892 GB / 0.7943 GB, free: 35.63 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.002132/0.002132, allocations: 67.55 kB / 1.154 GB, free: 25.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4145/0.4166, allocations: 176.1 MB / 1.326 GB, free: 1.887 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997): time 0.003808/0.4204, allocations: 1.839 MB / 1.327 GB, free: 44 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00117/0.4216, allocations: 0.5024 MB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.297e-05/0.4217, allocations: 0 / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 6.83e-05/0.4217, allocations: 15.8 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004824/0.4222, allocations: 107.4 kB / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 7.117e-05/0.4223, allocations: 39.95 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001858/0.4225, allocations: 131.7 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002621/0.4227, allocations: 88.48 kB / 1.328 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.742e-05/0.4228, allocations: 63.72 kB / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.119e-05/0.4229, allocations: 47.7 kB / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.208e-05/0.4229, allocations: 20 kB / 1.328 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002041/0.4231, allocations: 91.92 kB / 1.328 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.49e-05/0.4232, allocations: 39.86 kB / 1.328 GB, free: 14.9 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.031e-05/0.4233, allocations: 63.66 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000359/0.4236, allocations: 247.1 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.4236, allocations: 0 / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.633e-06/0.4236, allocations: 0 / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.4236, allocations: 0 / 1.329 GB, free: 14.6 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.0007113/0.4244, allocations: 397.3 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.4244, allocations: 8.031 kB / 1.329 GB, free: 14.17 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.933e-05/0.4245, allocations: 24.84 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002368/0.4247, allocations: 154.3 kB / 1.329 GB, free: 13.97 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/0.4247, allocations: 8.375 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.644e-05/0.4248, allocations: 24.38 kB / 1.329 GB, free: 13.94 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003452/0.4251, allocations: 153.8 kB / 1.329 GB, free: 13.78 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.4251, allocations: 192 / 1.329 GB, free: 13.78 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.439e-05/0.4251, allocations: 15.92 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.585e-06/0.4251, allocations: 4 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003021/0.4254, allocations: 107.9 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007613/0.4262, allocations: 412.8 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001874/0.4264, allocations: 66.48 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.878e-05/0.4265, allocations: 24.94 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002565/0.4267, allocations: 35.97 kB / 1.33 GB, free: 13.08 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.879e-05/0.4268, allocations: 34.56 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of pre-optimization done (n=5): time 1.233e-06/0.4268, allocations: 0 / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of matching and sorting (n=5): time 0.000447/0.4272, allocations: 109.5 kB / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.312e-05/0.4273, allocations: 55.34 kB / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001469/0.4274, allocations: 132.6 kB / 1.33 GB, free: 12.72 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.4275, allocations: 25.7 kB / 1.33 GB, free: 12.69 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/0.4276, allocations: 152 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.303e-05/0.4276, allocations: 7.906 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.889e-05/0.4276, allocations: 29.7 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.4278, allocations: 310.8 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.854e-05/0.4279, allocations: 27.97 kB / 1.331 GB, free: 12.15 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/0.428, allocations: 55.41 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002029/0.4282, allocations: 79.34 kB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.4282, allocations: 0 / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002602/0.4285, allocations: 113.6 kB / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.4285, allocations: 7.938 kB / 1.331 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.4285, allocations: 0 / 1.331 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.439e-05/0.4285, allocations: 7.938 kB / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.4286, allocations: 23.86 kB / 1.331 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.4286, allocations: 4 kB / 1.331 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.633e-05/0.4287, allocations: 12.25 kB / 1.331 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.4287, allocations: 4 kB / 1.331 GB, free: 11.82 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.0001127/0.4288, allocations: 129.2 kB / 1.331 GB, free: 11.69 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.899e-05/0.4289, allocations: 12.02 kB / 1.331 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003057/0.4292, allocations: 101.6 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/0.4292, allocations: 7.922 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.4292, allocations: 0 / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.4292, allocations: 0 / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001954/0.4294, allocations: 141.3 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.4294, allocations: 0 / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.137e-05/0.4295, allocations: 19.98 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.4295, allocations: 0 / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.4295, allocations: 0 / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.4295, allocations: 0 / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.4295, allocations: 7.938 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002862/0.4298, allocations: 183.4 kB / 1.332 GB, free: 11.17 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.43e-05/0.4298, allocations: 4 kB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.4298, allocations: 3.984 kB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.125e-05/0.4299, allocations: 4 kB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.885e-05/0.4299, allocations: 15.92 kB / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.261e-06/0.4299, allocations: 4 kB / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.052e-05/0.43, allocations: 95.27 kB / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.43, allocations: 0 / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000314/0.4303, allocations: 55.72 kB / 1.332 GB, free: 10.99 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.0002347/0.4306, allocations: 143 kB / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002756/0.4308, allocations: 64.08 kB / 1.332 GB, free: 10.78 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.4308, allocations: 7.938 kB / 1.332 GB, free: 10.77 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.4309, allocations: 27.97 kB / 1.332 GB, free: 10.74 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003581/0.4313, allocations: 14.95 kB / 1.332 GB, free: 10.73 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005371/0.4318, allocations: 248.5 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001062/0.4319, allocations: 101.6 kB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.114e-05/0.432, allocations: 5.969 kB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.469e-05/0.432, allocations: 11.44 kB / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of SimCode: time 3.1e-07/0.432, allocations: 4 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of Templates: time 0.005254/0.4373, allocations: 1.404 MB / 1.334 GB, free: 8.973 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.784800542518497]