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.001434/0.001434, 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.001626/0.001626, allocations: 221.7 kB / 22.25 MB, free: 5.254 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.353/1.353, allocations: 230.6 MB / 256 MB, free: 7.785 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.895/2.895, allocations: 0.49 GB / 0.7951 GB, free: 35.34 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.RefrigerantCycle.Frosting.Validation.WetterAfjei1997,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatPumps_ModularReversible_RefrigerantCycle_Frosting_Validation_WetterAfjei1997",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatPumps_ModularReversible_RefrigerantCycle_Frosting_Validation_WetterAfjei1997",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.001847/0.001847, allocations: 73.8 kB / 1.154 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2911/0.2929, 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.003032/0.296, allocations: 1.844 MB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0008966/0.2969, allocations: 0.5062 MB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.35e-05/0.2969, allocations: 4 kB / 1.328 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.947e-05/0.297, allocations: 15.8 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003347/0.2973, allocations: 107.4 kB / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 6.409e-05/0.2974, allocations: 39.97 kB / 1.328 GB, free: 14.92 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001557/0.2975, allocations: 131.7 kB / 1.328 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002128/0.2977, allocations: 96.75 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 7.509e-05/0.2978, allocations: 55.78 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.455e-05/0.2979, allocations: 63.7 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.85e-05/0.2979, allocations: 16 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001749/0.2981, allocations: 95.92 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.548e-05/0.2981, allocations: 31.92 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.36e-05/0.2982, allocations: 63.61 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003067/0.2985, allocations: 247.1 kB / 1.329 GB, free: 14.13 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.2985, allocations: 0 / 1.329 GB, free: 14.13 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2985, allocations: 4 kB / 1.329 GB, free: 14.13 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.235e-06/0.2985, allocations: 0 / 1.329 GB, free: 14.13 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.0005899/0.2991, allocations: 393.4 kB / 1.329 GB, free: 13.71 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.2992, allocations: 12.03 kB / 1.329 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.683e-05/0.2992, allocations: 58.66 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.35e-05/0.2993, allocations: 20.8 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000205/0.2995, allocations: 154.3 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/0.2995, allocations: 16.33 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.825e-05/0.2995, allocations: 24.38 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003275/0.2999, allocations: 154.8 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.2999, allocations: 7.875 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.97e-05/0.2999, allocations: 16 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.2999, allocations: 4 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002743/0.3002, allocations: 111.9 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006853/0.3008, allocations: 460.4 kB / 1.33 GB, free: 12.61 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001722/0.301, allocations: 58.55 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.756e-05/0.3011, allocations: 36.91 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002261/0.3013, allocations: 23.98 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/0.3014, allocations: 42.48 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.3014, allocations: 0 / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of matching and sorting (n=5): time 0.0003989/0.3018, allocations: 113.5 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.636e-05/0.3018, allocations: 51.41 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.3019, allocations: 145.7 kB / 1.331 GB, free: 12.1 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/0.302, allocations: 25.7 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.436e-05/0.302, allocations: 143.6 kB / 1.331 GB, free: 11.92 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.152e-05/0.3021, allocations: 23.81 kB / 1.331 GB, free: 11.9 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.651e-05/0.3021, allocations: 17.72 kB / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.3022, allocations: 322.8 kB / 1.331 GB, free: 11.55 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.974e-05/0.3023, allocations: 19.98 kB / 1.331 GB, free: 11.53 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001085/0.3024, allocations: 55.41 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001922/0.3026, allocations: 79.34 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3026, allocations: 0 / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002593/0.3029, allocations: 121.4 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.3029, allocations: 9.562 kB / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.3029, allocations: 0 / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.3029, allocations: 0 / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.303, allocations: 19.98 kB / 1.332 GB, free: 11.22 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.303, allocations: 0 / 1.332 GB, free: 11.22 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.844e-05/0.3031, allocations: 19.88 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.849e-06/0.3031, allocations: 4 kB / 1.332 GB, free: 11.2 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.000102/0.3032, allocations: 118.4 kB / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.295e-05/0.3033, allocations: 19.95 kB / 1.332 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002723/0.3035, allocations: 96.47 kB / 1.332 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.3035, allocations: 8 kB / 1.332 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.3035, allocations: 0 / 1.332 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.3035, allocations: 0 / 1.332 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002159/0.3038, allocations: 184.7 kB / 1.332 GB, free: 10.72 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3038, allocations: 0 / 1.332 GB, free: 10.72 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.757e-05/0.3038, allocations: 15.92 kB / 1.332 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3038, allocations: 4 kB / 1.332 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.3038, allocations: 4 kB / 1.332 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.3038, allocations: 0 / 1.332 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.3038, allocations: 3.938 kB / 1.332 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002683/0.3041, allocations: 191.4 kB / 1.332 GB, free: 10.49 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.03e-05/0.3041, allocations: 15.83 kB / 1.332 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.3042, allocations: 4 kB / 1.332 GB, free: 10.47 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.325e-05/0.3042, allocations: 7.984 kB / 1.332 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.105e-05/0.3043, allocations: 4 kB / 1.332 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.3043, allocations: 4 kB / 1.332 GB, free: 10.46 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.532e-05/0.3044, allocations: 111.2 kB / 1.333 GB, free: 10.35 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3044, allocations: 0 / 1.333 GB, free: 10.35 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002789/0.3046, allocations: 47.77 kB / 1.333 GB, free: 10.3 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.0007892/0.3054, allocations: 0.7864 MB / 1.333 GB, free: 9.488 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002418/0.3057, allocations: 67.89 kB / 1.333 GB, free: 9.422 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.3057, allocations: 0 / 1.333 GB, free: 9.422 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.535e-05/0.3058, allocations: 27.97 kB / 1.333 GB, free: 9.395 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003035/0.3061, allocations: 13.73 kB / 1.333 GB, free: 9.383 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001845/0.3079, allocations: 1.611 MB / 1.335 GB, free: 7.676 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.881e-05/0.308, allocations: 98.8 kB / 1.335 GB, free: 7.559 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.119e-05/0.3081, allocations: 14.77 kB / 1.335 GB, free: 7.547 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.637e-05/0.3081, allocations: 39.42 kB / 1.335 GB, free: 7.508 MB / 1.029 GB Notification: Performance of SimCode: time 4.41e-07/0.3081, allocations: 0 / 1.335 GB, free: 7.508 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02986/0.338, allocations: 3.279 MB / 1.338 GB, free: 4.41 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.66/11, allocations: 8.047 kB / 1.338 GB, free: 4.402 MB / 1.029 GB " [Timeout remaining time 289] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_HeatPumps_ModularReversible_RefrigerantCycle_Frosting_Validation_WetterAfjei1997_fmu --startTime=0 --stopTime=35 --stepSize=1 --timeout=400 --tolerance=1e-08 Buildings_12_Buildings_Fluid_HeatPumps_ModularReversible_RefrigerantCycle_Frosting_Validation_WetterAfjei1997.fmu > Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997.pipe 2>&1) [Timeout 420.0] 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/jenkins1/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: 16.959195563016692]