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.001378/0.001378, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001613/0.001613, allocations: 215.1 kB / 23.03 MB, free: 4.922 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.384/1.384, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.095/3.095, allocations: 0.5003 GB / 0.8062 GB, free: 28.27 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="cs",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="cs",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.001866/0.001866, allocations: 66.42 kB / 1.171 GB, free: 19.6 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2963/0.2982, allocations: 179 MB / 1.345 GB, free: 15.91 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997): time 0.003108/0.3013, allocations: 1.843 MB / 1.347 GB, free: 14.05 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.000949/0.3022, allocations: 0.5023 MB / 1.348 GB, free: 13.55 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.684e-05/0.3023, allocations: 4 kB / 1.348 GB, free: 13.54 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 5.254e-05/0.3024, allocations: 15.75 kB / 1.348 GB, free: 13.53 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0003678/0.3027, allocations: 103.4 kB / 1.348 GB, free: 13.43 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 6.598e-05/0.3028, allocations: 43.95 kB / 1.348 GB, free: 13.38 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001538/0.3029, allocations: 127.7 kB / 1.348 GB, free: 13.26 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002372/0.3032, allocations: 100.4 kB / 1.348 GB, free: 13.16 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 7.187e-05/0.3033, allocations: 51.8 kB / 1.348 GB, free: 13.11 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.513e-05/0.3033, allocations: 63.7 kB / 1.348 GB, free: 13.04 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.663e-05/0.3034, allocations: 16 kB / 1.348 GB, free: 13.03 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001927/0.3036, allocations: 99.92 kB / 1.348 GB, free: 12.93 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.145e-05/0.3036, allocations: 39.84 kB / 1.348 GB, free: 12.89 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.346e-05/0.3037, allocations: 59.73 kB / 1.348 GB, free: 12.83 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003342/0.304, allocations: 255 kB / 1.349 GB, free: 12.58 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.304, allocations: 0 / 1.349 GB, free: 12.58 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.623e-06/0.304, allocations: 0 / 1.349 GB, free: 12.58 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.304, allocations: 0 / 1.349 GB, free: 12.58 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.0005988/0.3046, allocations: 397.2 kB / 1.349 GB, free: 12.16 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.3046, allocations: 12.03 kB / 1.349 GB, free: 12.15 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.294e-05/0.3047, allocations: 4.188 kB / 1.349 GB, free: 12.14 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.515e-05/0.3047, allocations: 59.06 kB / 1.349 GB, free: 12.07 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.239e-05/0.3048, allocations: 16.84 kB / 1.349 GB, free: 12.06 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002041/0.305, allocations: 158.6 kB / 1.349 GB, free: 11.88 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.305, allocations: 20.73 kB / 1.349 GB, free: 11.86 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.831e-05/0.3051, allocations: 20.31 kB / 1.349 GB, free: 11.84 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00034/0.3054, allocations: 172.7 kB / 1.349 GB, free: 11.66 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.3054, allocations: 0 / 1.349 GB, free: 11.66 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.784e-05/0.3054, allocations: 8 kB / 1.349 GB, free: 11.66 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.3054, allocations: 4 kB / 1.349 GB, free: 11.65 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002879/0.3057, allocations: 123.3 kB / 1.349 GB, free: 11.54 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007123/0.3064, allocations: 488.1 kB / 1.35 GB, free: 11.02 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001817/0.3066, allocations: 70.55 kB / 1.35 GB, free: 10.94 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001213/0.3067, allocations: 40.88 kB / 1.35 GB, free: 10.89 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000232/0.307, allocations: 31.97 kB / 1.35 GB, free: 10.86 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.307, allocations: 34.56 kB / 1.35 GB, free: 10.82 MB / 1.045 GB Notification: Performance of pre-optimization done (n=9): time 1.142e-06/0.307, allocations: 0 / 1.35 GB, free: 10.82 MB / 1.045 GB Notification: Performance of matching and sorting (n=14): time 0.004258/0.3112, allocations: 0.7659 MB / 1.351 GB, free: 10.05 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/0.3113, allocations: 59.41 kB / 1.351 GB, free: 9.977 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000133/0.3114, allocations: 136.2 kB / 1.351 GB, free: 9.836 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.61e-05/0.3115, allocations: 29.7 kB / 1.351 GB, free: 9.801 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 9.21e-05/0.3116, allocations: 140.3 kB / 1.351 GB, free: 9.66 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.738e-05/0.3116, allocations: 51.58 kB / 1.351 GB, free: 9.609 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.125e-05/0.3117, allocations: 33.7 kB / 1.351 GB, free: 9.57 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.3118, allocations: 322.8 kB / 1.352 GB, free: 9.246 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000378/0.3122, allocations: 103.8 kB / 1.352 GB, free: 9.145 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003943/0.3126, allocations: 128.9 kB / 1.352 GB, free: 9.008 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000732/0.3133, allocations: 238 kB / 1.352 GB, free: 8.766 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.3133, allocations: 3.938 kB / 1.352 GB, free: 8.762 MB / 1.045 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000849/0.3142, allocations: 281.3 kB / 1.352 GB, free: 8.48 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.3142, allocations: 8 kB / 1.352 GB, free: 8.473 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.3142, allocations: 3.938 kB / 1.352 GB, free: 8.469 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.3142, allocations: 0 / 1.352 GB, free: 8.469 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003608/0.3146, allocations: 64.05 kB / 1.352 GB, free: 8.406 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.3146, allocations: 0 / 1.352 GB, free: 8.406 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002664/0.3148, allocations: 31.95 kB / 1.352 GB, free: 8.375 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.252e-05/0.3149, allocations: 11.94 kB / 1.352 GB, free: 8.363 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 (17): * Single equations (assignments): 17 * 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.0001335/0.315, allocations: 125.8 kB / 1.353 GB, free: 8.23 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.415e-05/0.315, allocations: 15.95 kB / 1.353 GB, free: 8.215 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009613/0.316, allocations: 296.9 kB / 1.353 GB, free: 7.918 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.316, allocations: 0 / 1.353 GB, free: 7.918 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.316, allocations: 3.984 kB / 1.353 GB, free: 7.914 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.316, allocations: 3.984 kB / 1.353 GB, free: 7.91 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00132/0.3173, allocations: 0.5919 MB / 1.353 GB, free: 7.27 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.3173, allocations: 0 / 1.353 GB, free: 7.27 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003233/0.3177, allocations: 51.95 kB / 1.354 GB, free: 7.219 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.3177, allocations: 4 kB / 1.354 GB, free: 7.215 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.3177, allocations: 0 / 1.354 GB, free: 7.215 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.3177, allocations: 0 / 1.354 GB, free: 7.215 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.3177, allocations: 3.938 kB / 1.354 GB, free: 7.211 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008935/0.3186, allocations: 369.8 kB / 1.354 GB, free: 6.836 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.737e-05/0.3186, allocations: 12.52 kB / 1.354 GB, free: 6.824 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.35e-05/0.3187, allocations: 3.984 kB / 1.354 GB, free: 6.82 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002963/0.3189, allocations: 35.91 kB / 1.354 GB, free: 6.785 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.581e-05/0.319, allocations: 15.98 kB / 1.354 GB, free: 6.77 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/0.319, allocations: 4 kB / 1.354 GB, free: 6.766 MB / 1.045 GB Notification: Performance of sorting global known variables: time 8.277e-05/0.3191, allocations: 112.7 kB / 1.354 GB, free: 6.656 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.3191, allocations: 3.938 kB / 1.354 GB, free: 6.652 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003458/0.3194, allocations: 59.81 kB / 1.354 GB, free: 6.594 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 (15): * Single equations (assignments): 15 * 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.001709/0.3212, allocations: 1.06 MB / 1.355 GB, free: 5.508 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0008247/0.322, allocations: 219.8 kB / 1.355 GB, free: 5.293 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.322, allocations: 192 / 1.355 GB, free: 5.293 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003873/0.3224, allocations: 119.8 kB / 1.355 GB, free: 5.176 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000389/0.3228, allocations: 27.92 kB / 1.355 GB, free: 5.148 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003638/0.3264, allocations: 2.138 MB / 1.358 GB, free: 2.91 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001058/0.3265, allocations: 107.9 kB / 1.358 GB, free: 2.785 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.000192/0.3267, allocations: 42.72 kB / 1.358 GB, free: 2.746 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001476/0.3268, allocations: 51.41 kB / 1.358 GB, free: 2.695 MB / 1.045 GB Notification: Performance of SimCode: time 7.01e-07/0.3268, allocations: 0 / 1.358 GB, free: 2.695 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02537/0.3522, allocations: 4.801 MB / 1.362 GB, free: 14.1 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/11.21, allocations: 4.062 kB / 1.362 GB, free: 14.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: 17.497029176913202]