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.001272/0.001272, allocations: 97.92 kB / 19.73 MB, free: 1.992 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.001526/0.001526, allocations: 214 kB / 23.02 MB, free: 4.422 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.38/1.38, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.958/2.958, allocations: 0.49 GB / 0.7959 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="cs",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="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.001884/0.001884, allocations: 60.88 kB / 1.155 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2969/0.2988, allocations: 176.1 MB / 1.327 GB, free: 1.539 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997): time 0.003127/0.3019, allocations: 1.835 MB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0009693/0.3029, allocations: 0.5101 MB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.132e-05/0.3029, allocations: 4 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.029e-05/0.303, allocations: 15.8 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003658/0.3033, allocations: 95.47 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 6.346e-05/0.3034, allocations: 39.97 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000153/0.3036, allocations: 135.6 kB / 1.329 GB, free: 14.9 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002244/0.3038, allocations: 92.81 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 7.352e-05/0.3039, allocations: 55.78 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.241e-05/0.3039, allocations: 63.7 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.593e-05/0.304, allocations: 16 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001947/0.3042, allocations: 99.92 kB / 1.33 GB, free: 14.58 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.014e-05/0.3042, allocations: 39.8 kB / 1.33 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.775e-05/0.3043, allocations: 59.72 kB / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003393/0.3046, allocations: 243.1 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3046, allocations: 0 / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3046, allocations: 0 / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.3046, allocations: 8 kB / 1.33 GB, free: 14.23 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.0006159/0.3052, allocations: 398.5 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.3053, allocations: 12.03 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.063e-05/0.3053, allocations: 12.17 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.292e-05/0.3054, allocations: 59.05 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.476e-05/0.3054, allocations: 20.8 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000202/0.3056, allocations: 150.7 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.47e-05/0.3057, allocations: 12.75 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.714e-05/0.3057, allocations: 16.38 kB / 1.331 GB, free: 13.5 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003546/0.306, allocations: 176.7 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/0.3061, allocations: 0 / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.051e-05/0.3061, allocations: 11.98 kB / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.3061, allocations: 4 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003057/0.3064, allocations: 127.2 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007542/0.3071, allocations: 472.4 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000201/0.3073, allocations: 78.48 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001204/0.3075, allocations: 40.88 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002447/0.3077, allocations: 31.97 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.3077, allocations: 34.56 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.3077, allocations: 0 / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of matching and sorting (n=14): time 0.004376/0.3121, allocations: 0.766 MB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.229e-05/0.3122, allocations: 55.41 kB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.3123, allocations: 139.5 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.133e-05/0.3123, allocations: 33.69 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.307e-05/0.3124, allocations: 144.2 kB / 1.333 GB, free: 11.3 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.082e-05/0.3125, allocations: 51.59 kB / 1.333 GB, free: 11.25 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.398e-05/0.3126, allocations: 33.7 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.3127, allocations: 322.8 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000379/0.3131, allocations: 103.9 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004091/0.3135, allocations: 133.4 kB / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007645/0.3143, allocations: 231.8 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.3143, allocations: 3.938 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008788/0.3151, allocations: 269.5 kB / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.3152, allocations: 12 kB / 1.334 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.3152, allocations: 0 / 1.334 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.3152, allocations: 4 kB / 1.334 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003776/0.3156, allocations: 63.83 kB / 1.334 GB, free: 10.06 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.3156, allocations: 3.984 kB / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002778/0.3159, allocations: 31.97 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.552e-05/0.3159, allocations: 11.98 kB / 1.334 GB, free: 10.01 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 (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.0001413/0.316, allocations: 129.7 kB / 1.334 GB, free: 9.875 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.121e-05/0.3161, allocations: 15.91 kB / 1.334 GB, free: 9.859 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00104/0.3171, allocations: 293.6 kB / 1.334 GB, free: 9.566 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.3171, allocations: 0 / 1.334 GB, free: 9.566 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.3171, allocations: 0 / 1.334 GB, free: 9.566 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.3171, allocations: 0 / 1.334 GB, free: 9.566 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001376/0.3185, allocations: 0.5996 MB / 1.335 GB, free: 8.918 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.3185, allocations: 0 / 1.335 GB, free: 8.918 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000342/0.3188, allocations: 55.88 kB / 1.335 GB, free: 8.863 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.3189, allocations: 4 kB / 1.335 GB, free: 8.859 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.1e-05/0.3189, allocations: 8 kB / 1.335 GB, free: 8.852 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.3189, allocations: 0 / 1.335 GB, free: 8.852 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.3189, allocations: 3.938 kB / 1.335 GB, free: 8.848 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009008/0.3198, allocations: 358.1 kB / 1.335 GB, free: 8.484 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.263e-05/0.3198, allocations: 19.91 kB / 1.335 GB, free: 8.465 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.23e-05/0.3198, allocations: 4 kB / 1.335 GB, free: 8.461 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003029/0.3201, allocations: 39.83 kB / 1.335 GB, free: 8.422 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.817e-05/0.3202, allocations: 7.984 kB / 1.335 GB, free: 8.414 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.741e-05/0.3202, allocations: 4 kB / 1.335 GB, free: 8.41 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.646e-05/0.3203, allocations: 112.8 kB / 1.335 GB, free: 8.301 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3203, allocations: 4 kB / 1.335 GB, free: 8.297 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003378/0.3206, allocations: 55.88 kB / 1.335 GB, free: 8.242 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 (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.001816/0.3224, allocations: 1.048 MB / 1.336 GB, free: 7.168 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008887/0.3233, allocations: 229.3 kB / 1.337 GB, free: 6.945 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3233, allocations: 0 / 1.337 GB, free: 6.945 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0004081/0.3237, allocations: 122.7 kB / 1.337 GB, free: 6.828 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004032/0.3241, allocations: 28.47 kB / 1.337 GB, free: 6.801 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003869/0.328, allocations: 2.143 MB / 1.339 GB, free: 4.555 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001153/0.3281, allocations: 115.9 kB / 1.339 GB, free: 4.422 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001999/0.3283, allocations: 39.84 kB / 1.339 GB, free: 4.387 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001516/0.3285, allocations: 47.42 kB / 1.339 GB, free: 4.344 MB / 1.029 GB Notification: Performance of SimCode: time 5.41e-07/0.3285, allocations: 0 / 1.339 GB, free: 4.344 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02558/0.3541, allocations: 4.801 MB / 1.344 GB, free: 15.75 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.41, allocations: 12.86 kB / 1.344 GB, free: 15.74 MB / 1.045 GB " [Timeout remaining time 288] (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: 17.713600322953425]