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.00149/0.00149, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.00172/0.00172, allocations: 211.3 kB / 22.25 MB, free: 5.086 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.366/1.366, allocations: 230.6 MB / 256 MB, free: 8.016 MB / 206.1 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.006/3.006, allocations: 0.505 GB / 0.8101 GB, free: 22.04 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.001885/0.001885, allocations: 63.05 kB / 1.177 GB, free: 17.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2954/0.2973, allocations: 180.2 MB / 1.353 GB, free: 8.426 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997): time 0.00311/0.3004, allocations: 1.904 MB / 1.355 GB, free: 6.512 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0009965/0.3014, allocations: 0.5412 MB / 1.355 GB, free: 5.969 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.694e-05/0.3015, allocations: 4 kB / 1.355 GB, free: 5.965 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 5.718e-05/0.3016, allocations: 19.73 kB / 1.355 GB, free: 5.945 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0003829/0.302, allocations: 99.47 kB / 1.355 GB, free: 5.848 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 6.921e-05/0.302, allocations: 31.97 kB / 1.355 GB, free: 5.816 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001705/0.3022, allocations: 139.6 kB / 1.356 GB, free: 5.68 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002176/0.3024, allocations: 93.19 kB / 1.356 GB, free: 5.586 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 9.449e-05/0.3025, allocations: 55.8 kB / 1.356 GB, free: 5.531 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 8.42e-05/0.3026, allocations: 67.64 kB / 1.356 GB, free: 5.465 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.669e-05/0.3026, allocations: 16 kB / 1.356 GB, free: 5.449 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001981/0.3028, allocations: 95.92 kB / 1.356 GB, free: 5.355 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.257e-05/0.3029, allocations: 39.91 kB / 1.356 GB, free: 5.316 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.674e-05/0.3029, allocations: 71.55 kB / 1.356 GB, free: 5.246 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003417/0.3033, allocations: 255 kB / 1.356 GB, free: 4.996 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3033, allocations: 0 / 1.356 GB, free: 4.996 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3033, allocations: 0 / 1.356 GB, free: 4.996 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.3033, allocations: 0 / 1.356 GB, free: 4.996 MB / 1.045 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.0006066/0.3039, allocations: 385.5 kB / 1.357 GB, free: 4.586 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.3039, allocations: 12.03 kB / 1.357 GB, free: 4.574 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.585e-05/0.304, allocations: 66.61 kB / 1.357 GB, free: 4.5 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.01e-05/0.3041, allocations: 16.84 kB / 1.357 GB, free: 4.484 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002238/0.3043, allocations: 162.3 kB / 1.357 GB, free: 4.301 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/0.3043, allocations: 16.33 kB / 1.357 GB, free: 4.285 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.275e-05/0.3043, allocations: 12.38 kB / 1.357 GB, free: 4.273 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003266/0.3047, allocations: 158.9 kB / 1.357 GB, free: 4.113 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.3047, allocations: 7.875 kB / 1.357 GB, free: 4.105 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.558e-05/0.3047, allocations: 8 kB / 1.357 GB, free: 4.098 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.433e-06/0.3047, allocations: 4 kB / 1.357 GB, free: 4.094 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002863/0.305, allocations: 115.9 kB / 1.357 GB, free: 3.98 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007136/0.3057, allocations: 492.4 kB / 1.358 GB, free: 3.457 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001552/0.3058, allocations: 58.55 kB / 1.358 GB, free: 3.391 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.714e-05/0.3059, allocations: 28.94 kB / 1.358 GB, free: 3.359 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002257/0.3062, allocations: 31.95 kB / 1.358 GB, free: 3.328 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.3062, allocations: 42.5 kB / 1.358 GB, free: 3.277 MB / 1.045 GB Notification: Performance of pre-optimization done (n=5): time 1.242e-06/0.3062, allocations: 0 / 1.358 GB, free: 3.277 MB / 1.045 GB Notification: Performance of matching and sorting (n=5): time 0.000368/0.3066, allocations: 109.5 kB / 1.358 GB, free: 3.164 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.792e-05/0.3066, allocations: 51.41 kB / 1.358 GB, free: 3.102 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.3067, allocations: 147.6 kB / 1.358 GB, free: 2.949 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.3067, allocations: 29.7 kB / 1.358 GB, free: 2.914 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 9.333e-05/0.3068, allocations: 139.7 kB / 1.358 GB, free: 2.773 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.566e-05/0.3069, allocations: 15.84 kB / 1.358 GB, free: 2.758 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.938e-05/0.3069, allocations: 25.66 kB / 1.358 GB, free: 2.727 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.307, allocations: 318.8 kB / 1.359 GB, free: 2.406 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.977e-05/0.3071, allocations: 31.97 kB / 1.359 GB, free: 2.375 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.993e-05/0.3072, allocations: 43.42 kB / 1.359 GB, free: 2.32 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000191/0.3074, allocations: 87.33 kB / 1.359 GB, free: 2.223 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3074, allocations: 0 / 1.359 GB, free: 2.223 MB / 1.045 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000238/0.3076, allocations: 109.7 kB / 1.359 GB, free: 2.109 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.3077, allocations: 8 kB / 1.359 GB, free: 2.102 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.3077, allocations: 3.984 kB / 1.359 GB, free: 2.098 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.3077, allocations: 0 / 1.359 GB, free: 2.098 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.3078, allocations: 28.08 kB / 1.359 GB, free: 2.07 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.3078, allocations: 0 / 1.359 GB, free: 2.07 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.525e-05/0.3079, allocations: 15.95 kB / 1.359 GB, free: 2.055 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.3079, allocations: 4 kB / 1.359 GB, free: 2.051 MB / 1.045 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.958e-05/0.308, allocations: 125.8 kB / 1.359 GB, free: 1.918 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.21e-05/0.308, allocations: 11.89 kB / 1.359 GB, free: 1.906 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002693/0.3083, allocations: 107.7 kB / 1.359 GB, free: 1.797 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.3083, allocations: 0 / 1.359 GB, free: 1.797 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.3083, allocations: 0 / 1.359 GB, free: 1.797 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.3083, allocations: 0 / 1.359 GB, free: 1.797 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002258/0.3085, allocations: 192.6 kB / 1.359 GB, free: 1.566 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.3085, allocations: 0 / 1.359 GB, free: 1.566 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.94e-05/0.3086, allocations: 15.92 kB / 1.359 GB, free: 1.551 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.3086, allocations: 0 / 1.359 GB, free: 1.551 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.3086, allocations: 4 kB / 1.359 GB, free: 1.547 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3086, allocations: 4 kB / 1.359 GB, free: 1.543 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.3086, allocations: 7.922 kB / 1.359 GB, free: 1.535 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002636/0.3089, allocations: 183.4 kB / 1.36 GB, free: 1.34 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.159e-05/0.3089, allocations: 15.88 kB / 1.36 GB, free: 1.324 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.382e-05/0.3089, allocations: 0 / 1.36 GB, free: 1.324 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.594e-05/0.309, allocations: 8 kB / 1.36 GB, free: 1.316 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.197e-05/0.309, allocations: 7.984 kB / 1.36 GB, free: 1.309 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-06/0.309, allocations: 0 / 1.36 GB, free: 1.309 MB / 1.045 GB Notification: Performance of sorting global known variables: time 8.1e-05/0.3091, allocations: 121.2 kB / 1.36 GB, free: 1.191 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3091, allocations: 0 / 1.36 GB, free: 1.191 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002848/0.3094, allocations: 51.72 kB / 1.36 GB, free: 1.141 MB / 1.045 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.0007482/0.3102, allocations: 0.7943 MB / 1.36 GB, free: 328 kB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002304/0.3104, allocations: 63.89 kB / 1.361 GB, free: 264 kB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.3104, allocations: 0 / 1.361 GB, free: 264 kB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 8.569e-05/0.3105, allocations: 27.97 kB / 1.361 GB, free: 236 kB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003021/0.3108, allocations: 21.55 kB / 1.361 GB, free: 216 kB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001863/0.3126, allocations: 1.592 MB / 1.362 GB, free: 14.52 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003374/0.313, allocations: 0.708 MB / 1.363 GB, free: 13.78 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 5.377e-05/0.313, allocations: 18.91 kB / 1.363 GB, free: 13.77 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.49e-05/0.3131, allocations: 43.42 kB / 1.363 GB, free: 13.72 MB / 1.061 GB Notification: Performance of SimCode: time 3.61e-07/0.3131, allocations: 0 / 1.363 GB, free: 13.72 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02875/0.3418, allocations: 2.82 MB / 1.366 GB, free: 11.09 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.06/10.4, allocations: 4.422 kB / 1.366 GB, free: 11.09 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.53765727393329]