Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001507/0.001507, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.001681/0.001681, allocations: 157.7 kB / 22.75 MB, free: 1.684 MB / 18.57 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.499/1.499, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.453/3.453, allocations: 429.6 MB / 0.673 GB, free: 3.875 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 0.8776 GB, free: 5.281 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.423e-05/3.614e-05, allocations: 9.484 kB / 0.8777 GB, free: 5.273 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997): time 0.003751/0.003787, allocations: 1.865 MB / 0.8795 GB, free: 3.426 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001154/0.004941, allocations: 0.5122 MB / 0.88 GB, free: 2.914 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001057/0.005047, allocations: 4 kB / 0.88 GB, free: 2.91 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 7.961e-05/0.005127, allocations: 20.77 kB / 0.88 GB, free: 2.891 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0004671/0.005594, allocations: 100.4 kB / 0.8801 GB, free: 2.793 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 9.126e-05/0.005685, allocations: 39.97 kB / 0.8801 GB, free: 2.754 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001959/0.005881, allocations: 136.2 kB / 0.8803 GB, free: 2.621 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002869/0.006168, allocations: 102.3 kB / 0.8804 GB, free: 2.516 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001471/0.006315, allocations: 87.8 kB / 0.8804 GB, free: 2.43 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 7.793e-05/0.006393, allocations: 43.88 kB / 0.8805 GB, free: 2.387 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 3.467e-05/0.006428, allocations: 16 kB / 0.8805 GB, free: 2.371 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002248/0.006652, allocations: 93.17 kB / 0.8806 GB, free: 2.281 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 4.313e-05/0.006696, allocations: 35.84 kB / 0.8806 GB, free: 2.246 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 7.682e-05/0.006772, allocations: 55.83 kB / 0.8807 GB, free: 2.191 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0004538/0.007226, allocations: 264.1 kB / 0.8809 GB, free: 1.934 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.007228, allocations: 0 / 0.8809 GB, free: 1.934 MB / 0.7917 GB Notification: Performance of FrontEnd: time 7.61e-07/0.007229, allocations: 0 / 0.8809 GB, free: 1.934 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.007234, allocations: 1.531 kB / 0.8809 GB, free: 1.934 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0007305/0.007965, allocations: 401.3 kB / 0.8813 GB, free: 1.508 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.25e-05/0.008017, allocations: 8.031 kB / 0.8813 GB, free: 1.5 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.001e-05/0.008107, allocations: 38.08 kB / 0.8814 GB, free: 1.465 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002531/0.00836, allocations: 153.5 kB / 0.8815 GB, free: 1.289 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.163e-05/0.008392, allocations: 20.36 kB / 0.8815 GB, free: 1.27 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.77e-05/0.00842, allocations: 17.41 kB / 0.8815 GB, free: 1.254 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003758/0.008795, allocations: 158 kB / 0.8817 GB, free: 1.094 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.008807, allocations: 3.594 kB / 0.8817 GB, free: 1.094 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.188e-05/0.008829, allocations: 8.375 kB / 0.8817 GB, free: 1.086 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.836e-06/0.008838, allocations: 4.375 kB / 0.8817 GB, free: 1.082 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003377/0.009175, allocations: 119.6 kB / 0.8818 GB, free: 0.9648 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007663/0.009942, allocations: 409.2 kB / 0.8822 GB, free: 0.5352 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002016/0.01014, allocations: 62.48 kB / 0.8823 GB, free: 476 kB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001099/0.01025, allocations: 32.92 kB / 0.8823 GB, free: 440 kB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002719/0.01053, allocations: 31.97 kB / 0.8823 GB, free: 408 kB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.186e-05/0.01057, allocations: 34.56 kB / 0.8824 GB, free: 364 kB / 0.7917 GB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.01057, allocations: 0 / 0.8824 GB, free: 364 kB / 0.7917 GB Notification: Performance of matching and sorting (n=5): time 0.0005988/0.01117, allocations: 109.5 kB / 0.8825 GB, free: 248 kB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.663e-05/0.01121, allocations: 55.41 kB / 0.8825 GB, free: 180 kB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00016/0.01137, allocations: 141.9 kB / 0.8827 GB, free: 24 kB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 3.866e-05/0.01141, allocations: 33.7 kB / 0.8827 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.01153, allocations: 136.2 kB / 0.8828 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.157e-05/0.01155, allocations: 19.84 kB / 0.8828 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.386e-05/0.0116, allocations: 25.66 kB / 0.8829 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001713/0.01177, allocations: 318.8 kB / 0.8832 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001236/0.0119, allocations: 23.97 kB / 0.8832 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/0.01203, allocations: 60.27 kB / 0.8832 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002273/0.01226, allocations: 84.2 kB / 0.8833 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.01226, allocations: 256 / 0.8833 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003071/0.01256, allocations: 125.6 kB / 0.8834 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.01258, allocations: 12.03 kB / 0.8835 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.01259, allocations: 3.938 kB / 0.8835 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.325e-05/0.01261, allocations: 4 kB / 0.8835 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.01273, allocations: 23.92 kB / 0.8835 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.01274, allocations: 0 / 0.8835 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/0.01284, allocations: 15.92 kB / 0.8835 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-06/0.01285, allocations: 0 / 0.8835 GB, free: 15.09 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (9): * Single equations (assignments): 9 * 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.0001163/0.01296, allocations: 121.8 kB / 0.8836 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.403e-05/0.013, allocations: 7.953 kB / 0.8836 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003225/0.01332, allocations: 108.7 kB / 0.8837 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.01332, allocations: 0 / 0.8837 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.01333, allocations: 0 / 0.8837 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/0.01334, allocations: 7.922 kB / 0.8837 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002069/0.01354, allocations: 145.2 kB / 0.8839 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.01355, allocations: 0 / 0.8839 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.49e-05/0.01362, allocations: 11.98 kB / 0.8839 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.01362, allocations: 4 kB / 0.8839 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.01364, allocations: 8 kB / 0.8839 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.01364, allocations: 0 / 0.8839 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.561e-06/0.01364, allocations: 3.984 kB / 0.8839 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003337/0.01398, allocations: 191.3 kB / 0.8841 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.726e-05/0.014, allocations: 7.953 kB / 0.8841 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.551e-05/0.01401, allocations: 0 / 0.8841 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.01411, allocations: 8.172 kB / 0.8841 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.3e-05/0.01416, allocations: 8 kB / 0.8841 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.01417, allocations: 8 kB / 0.8841 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 8.325e-05/0.01425, allocations: 99.25 kB / 0.8842 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.01425, allocations: 0 / 0.8842 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000333/0.01458, allocations: 63.66 kB / 0.8843 GB, free: 14.24 MB / 0.8073 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.0002764/0.01486, allocations: 143 kB / 0.8844 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002812/0.01514, allocations: 63.89 kB / 0.8845 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.01514, allocations: 4.25 kB / 0.8845 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.01525, allocations: 27.92 kB / 0.8845 GB, free: 14 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003582/0.01561, allocations: 21.98 kB / 0.8845 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000579/0.01619, allocations: 245.5 kB / 0.8848 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001145/0.0163, allocations: 102.9 kB / 0.8849 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.948e-05/0.01636, allocations: 11.67 kB / 0.8849 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.571e-05/0.01639, allocations: 16.5 kB / 0.8849 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of SimCode: time 4.81e-07/0.0164, allocations: 0 / 0.8849 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of Templates: time 0.005025/0.02142, allocations: 1.362 MB / 0.8862 GB, free: 12.27 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_ModularReversible_RefrigerantCycle_Frosting_Validation_WetterAfjei1997.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.780204858980142]