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.001491/0.001491, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001725/0.001725, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.336/1.336, allocations: 230.6 MB / 256 MB, free: 7.746 MB / 206.1 MB " [Timeout remaining time 179] 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 2.961/2.961, allocations: 0.5107 GB / 0.8158 GB, free: 17.81 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997,fileNamePrefix="Buildings_latest_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_latest_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.00193/0.00193, allocations: 68.45 kB / 1.186 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2889/0.2909, allocations: 181.9 MB / 1.363 GB, free: 14.06 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997): time 0.003125/0.294, allocations: 1.842 MB / 1.365 GB, free: 12.2 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0009254/0.2949, allocations: 0.5139 MB / 1.366 GB, free: 11.69 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.168e-05/0.295, allocations: 4 kB / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 5.029e-05/0.295, allocations: 19.8 kB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003588/0.2954, allocations: 99.42 kB / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 6.758e-05/0.2955, allocations: 39.95 kB / 1.366 GB, free: 11.53 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001537/0.2956, allocations: 127.8 kB / 1.366 GB, free: 11.4 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002306/0.2958, allocations: 89.58 kB / 1.366 GB, free: 11.31 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.575e-05/0.2959, allocations: 63.77 kB / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.414e-05/0.296, allocations: 51.64 kB / 1.366 GB, free: 11.2 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.093e-05/0.296, allocations: 24 kB / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001693/0.2962, allocations: 87.94 kB / 1.366 GB, free: 11.09 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.268e-05/0.2962, allocations: 31.92 kB / 1.366 GB, free: 11.06 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.616e-05/0.2963, allocations: 63.64 kB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003109/0.2966, allocations: 259 kB / 1.367 GB, free: 10.74 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.2966, allocations: 0 / 1.367 GB, free: 10.74 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2966, allocations: 0 / 1.367 GB, free: 10.74 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.2966, allocations: 0 / 1.367 GB, free: 10.74 MB / 1.061 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.0005544/0.2971, allocations: 385.5 kB / 1.367 GB, free: 10.33 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.2972, allocations: 8.031 kB / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.819e-05/0.2973, allocations: 62.69 kB / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.694e-05/0.2973, allocations: 16.84 kB / 1.367 GB, free: 10.24 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000205/0.2975, allocations: 154.2 kB / 1.367 GB, free: 10.06 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.2975, allocations: 20.33 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.876e-05/0.2975, allocations: 16.38 kB / 1.367 GB, free: 10.03 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000322/0.2979, allocations: 162.8 kB / 1.367 GB, free: 9.863 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.2979, allocations: 3.938 kB / 1.367 GB, free: 9.859 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.2979, allocations: 4 kB / 1.367 GB, free: 9.855 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.2979, allocations: 4 kB / 1.367 GB, free: 9.852 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002854/0.2982, allocations: 119.9 kB / 1.368 GB, free: 9.734 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006762/0.2989, allocations: 452.5 kB / 1.368 GB, free: 9.246 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001615/0.299, allocations: 66.48 kB / 1.368 GB, free: 9.172 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.271e-05/0.2991, allocations: 24.94 kB / 1.368 GB, free: 9.145 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002186/0.2993, allocations: 35.95 kB / 1.368 GB, free: 9.109 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/0.2994, allocations: 42.5 kB / 1.368 GB, free: 9.059 MB / 1.061 GB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.2994, allocations: 0 / 1.368 GB, free: 9.059 MB / 1.061 GB Notification: Performance of matching and sorting (n=5): time 0.0003764/0.2997, allocations: 105.6 kB / 1.368 GB, free: 8.949 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/0.2998, allocations: 51.41 kB / 1.368 GB, free: 8.887 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001252/0.2999, allocations: 149.7 kB / 1.368 GB, free: 8.73 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.2999, allocations: 25.7 kB / 1.368 GB, free: 8.699 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.527e-05/0.3, allocations: 135.8 kB / 1.369 GB, free: 8.562 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.544e-05/0.3, allocations: 31.72 kB / 1.369 GB, free: 8.531 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.665e-05/0.3001, allocations: 25.66 kB / 1.369 GB, free: 8.5 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.3002, allocations: 322.8 kB / 1.369 GB, free: 8.176 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.407e-05/0.3003, allocations: 23.97 kB / 1.369 GB, free: 8.152 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001102/0.3004, allocations: 51.42 kB / 1.369 GB, free: 8.09 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001893/0.3006, allocations: 79.33 kB / 1.369 GB, free: 8 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3006, allocations: 4 kB / 1.369 GB, free: 7.996 MB / 1.061 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002474/0.3008, allocations: 105.5 kB / 1.369 GB, free: 7.887 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.3009, allocations: 8 kB / 1.369 GB, free: 7.879 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.3009, allocations: 3.984 kB / 1.369 GB, free: 7.875 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.3009, allocations: 0 / 1.369 GB, free: 7.875 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.301, allocations: 23.98 kB / 1.369 GB, free: 7.852 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.301, allocations: 3.938 kB / 1.369 GB, free: 7.848 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.929e-05/0.301, allocations: 12.09 kB / 1.369 GB, free: 7.836 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.377e-06/0.3011, allocations: 4 kB / 1.369 GB, free: 7.832 MB / 1.061 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 9.934e-05/0.3012, allocations: 121.8 kB / 1.369 GB, free: 7.703 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.104e-05/0.3012, allocations: 15.83 kB / 1.369 GB, free: 7.688 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002639/0.3014, allocations: 100.4 kB / 1.37 GB, free: 7.582 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.3015, allocations: 0 / 1.37 GB, free: 7.582 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.3015, allocations: 4.375 kB / 1.37 GB, free: 7.578 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3015, allocations: 3.938 kB / 1.37 GB, free: 7.574 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002185/0.3017, allocations: 188.6 kB / 1.37 GB, free: 7.348 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.3017, allocations: 4 kB / 1.37 GB, free: 7.344 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.944e-05/0.3017, allocations: 19.92 kB / 1.37 GB, free: 7.324 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.3018, allocations: 4 kB / 1.37 GB, free: 7.32 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-06/0.3018, allocations: 0 / 1.37 GB, free: 7.32 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3018, allocations: 0 / 1.37 GB, free: 7.32 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.3018, allocations: 0 / 1.37 GB, free: 7.32 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002697/0.302, allocations: 183.5 kB / 1.37 GB, free: 7.125 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.856e-05/0.302, allocations: 11.89 kB / 1.37 GB, free: 7.113 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.3021, allocations: 0 / 1.37 GB, free: 7.113 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.064e-05/0.3022, allocations: 11.98 kB / 1.37 GB, free: 7.102 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.326e-05/0.3022, allocations: 3.984 kB / 1.37 GB, free: 7.098 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.052e-06/0.3022, allocations: 4 kB / 1.37 GB, free: 7.094 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.228e-05/0.3023, allocations: 113 kB / 1.37 GB, free: 6.984 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3023, allocations: 0 / 1.37 GB, free: 6.984 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002802/0.3026, allocations: 55.75 kB / 1.37 GB, free: 6.93 MB / 1.061 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.000767/0.3033, allocations: 0.7903 MB / 1.371 GB, free: 6.113 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002473/0.3036, allocations: 59.89 kB / 1.371 GB, free: 6.055 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.3036, allocations: 0 / 1.371 GB, free: 6.055 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.162e-05/0.3037, allocations: 27.98 kB / 1.371 GB, free: 6.027 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003085/0.304, allocations: 20.11 kB / 1.371 GB, free: 6.008 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001833/0.3058, allocations: 1.599 MB / 1.373 GB, free: 4.312 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.176e-05/0.3059, allocations: 102.8 kB / 1.373 GB, free: 4.195 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 5.005e-05/0.3059, allocations: 7.484 kB / 1.373 GB, free: 4.191 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.336e-05/0.306, allocations: 47.42 kB / 1.373 GB, free: 4.145 MB / 1.061 GB Notification: Performance of SimCode: time 3.61e-07/0.306, allocations: 0 / 1.373 GB, free: 4.145 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03074/0.3368, allocations: 3.238 MB / 1.376 GB, free: 1.09 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.45/10.78, allocations: 14.45 kB / 1.376 GB, free: 1.078 MB / 1.061 GB " [Timeout remaining time 289] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_ModularReversible_RefrigerantCycle_Frosting_Validation_WetterAfjei1997_fmu --startTime=0 --stopTime=35 --stepSize=1 --timeout=800 --tolerance=1e-08 Buildings_latest_Buildings_Fluid_HeatPumps_ModularReversible_RefrigerantCycle_Frosting_Validation_WetterAfjei1997.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997.pipe 2>&1) [Timeout 840.0] 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/jenkins1/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: 16.76514186197892]