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.001543/0.001543, allocations: 114.7 kB / 17.16 MB, free: 5.895 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.001635/0.001635, allocations: 210.3 kB / 20.13 MB, free: 2.949 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.439/1.439, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 2.851/2.851, allocations: 0.5003 GB / 0.8026 GB, free: 6.742 MB / 0.6387 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.001914/0.001914, allocations: 59.91 kB / 1.165 GB, free: 500 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8085/0.8104, allocations: 178.9 MB / 1.34 GB, free: 16.31 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997): time 0.002675/0.8131, allocations: 1.887 MB / 1.342 GB, free: 15 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0007598/0.8138, allocations: 0.5449 MB / 1.343 GB, free: 14.61 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.125e-05/0.8139, allocations: 3.719 kB / 1.343 GB, free: 14.61 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.456e-05/0.814, allocations: 15.33 kB / 1.343 GB, free: 14.6 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003478/0.8143, allocations: 99.3 kB / 1.343 GB, free: 14.55 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 6.151e-05/0.8144, allocations: 34.86 kB / 1.343 GB, free: 14.53 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000145/0.8145, allocations: 136.1 kB / 1.343 GB, free: 14.46 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000213/0.8147, allocations: 94.09 kB / 1.343 GB, free: 14.41 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.761e-05/0.8148, allocations: 58.94 kB / 1.343 GB, free: 14.38 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.821e-05/0.8149, allocations: 64.03 kB / 1.343 GB, free: 14.34 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.806e-05/0.8149, allocations: 17.78 kB / 1.343 GB, free: 14.34 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002044/0.8151, allocations: 92.22 kB / 1.343 GB, free: 14.32 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.82e-05/0.8151, allocations: 41.58 kB / 1.343 GB, free: 14.29 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.28e-05/0.8152, allocations: 70.5 kB / 1.343 GB, free: 14.24 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003217/0.8155, allocations: 247.9 kB / 1.343 GB, free: 14.14 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.8155, allocations: 4 kB / 1.343 GB, free: 14.14 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.092e-06/0.8155, allocations: 3.938 kB / 1.343 GB, free: 14.14 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.8155, allocations: 0 / 1.343 GB, free: 14.14 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.000523/0.816, allocations: 464.8 kB / 1.344 GB, free: 13.7 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.8161, allocations: 11.25 kB / 1.344 GB, free: 13.7 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.49e-05/0.8161, allocations: 5.188 kB / 1.344 GB, free: 13.7 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.983e-05/0.8162, allocations: 58.19 kB / 1.344 GB, free: 13.64 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.202e-05/0.8162, allocations: 23.05 kB / 1.344 GB, free: 13.63 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001888/0.8164, allocations: 213.2 kB / 1.344 GB, free: 13.41 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.8164, allocations: 20.53 kB / 1.344 GB, free: 13.4 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.395e-05/0.8164, allocations: 16.44 kB / 1.344 GB, free: 13.39 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003234/0.8168, allocations: 167.1 kB / 1.344 GB, free: 13.31 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.8168, allocations: 0 / 1.344 GB, free: 13.31 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.6e-05/0.8168, allocations: 9.812 kB / 1.344 GB, free: 13.3 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.8168, allocations: 4.531 kB / 1.344 GB, free: 13.3 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002988/0.8171, allocations: 127.9 kB / 1.345 GB, free: 13.27 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006796/0.8178, allocations: 0.5404 MB / 1.345 GB, free: 12.86 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001902/0.818, allocations: 80.09 kB / 1.345 GB, free: 12.82 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000112/0.8181, allocations: 39.56 kB / 1.345 GB, free: 12.8 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002614/0.8183, allocations: 186.6 kB / 1.345 GB, free: 12.61 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.209e-05/0.8184, allocations: 39.16 kB / 1.345 GB, free: 12.56 MB / 1.061 GB Notification: Performance of pre-optimization done (n=9): time 1.242e-06/0.8184, allocations: 1.375 kB / 1.345 GB, free: 12.56 MB / 1.061 GB Notification: Performance of matching and sorting (n=14): time 0.004563/0.8229, allocations: 0.7568 MB / 1.346 GB, free: 12.39 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.115e-05/0.8229, allocations: 57.34 kB / 1.346 GB, free: 12.32 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.894e-05/0.823, allocations: 136.4 kB / 1.346 GB, free: 12.21 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.8231, allocations: 29.7 kB / 1.346 GB, free: 12.18 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.985e-05/0.8231, allocations: 145.1 kB / 1.347 GB, free: 12.05 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.58e-05/0.8231, allocations: 48.92 kB / 1.347 GB, free: 12.01 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.512e-05/0.8232, allocations: 32.23 kB / 1.347 GB, free: 11.98 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 3.984e-05/0.8233, allocations: 321.3 kB / 1.347 GB, free: 11.67 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004214/0.8237, allocations: 106.7 kB / 1.347 GB, free: 11.64 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004274/0.8241, allocations: 130 kB / 1.347 GB, free: 11.59 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008211/0.8249, allocations: 232.1 kB / 1.347 GB, free: 11.5 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.8249, allocations: 3.938 kB / 1.347 GB, free: 11.5 MB / 1.061 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0009243/0.8259, allocations: 278.9 kB / 1.348 GB, free: 11.4 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.8259, allocations: 5.406 kB / 1.348 GB, free: 11.4 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.8259, allocations: 1.688 kB / 1.348 GB, free: 11.4 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.15e-05/0.8259, allocations: 1.906 kB / 1.348 GB, free: 11.4 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003865/0.8263, allocations: 65.92 kB / 1.348 GB, free: 11.39 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.8263, allocations: 1.922 kB / 1.348 GB, free: 11.39 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002779/0.8266, allocations: 28.92 kB / 1.348 GB, free: 11.39 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.081e-05/0.8266, allocations: 13.73 kB / 1.348 GB, free: 11.38 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 (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 9.145e-05/0.8267, allocations: 134.2 kB / 1.348 GB, free: 11.25 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.431e-05/0.8267, allocations: 9.094 kB / 1.348 GB, free: 11.24 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00102/0.8277, allocations: 293.8 kB / 1.348 GB, free: 11.14 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.8278, allocations: 5.938 kB / 1.348 GB, free: 11.13 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.8278, allocations: 9.297 kB / 1.348 GB, free: 11.12 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.8278, allocations: 0.6094 kB / 1.348 GB, free: 11.12 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001284/0.829, allocations: 0.6427 MB / 1.349 GB, free: 10.7 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.829, allocations: 1.766 kB / 1.349 GB, free: 10.7 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003352/0.8294, allocations: 52.38 kB / 1.349 GB, free: 10.7 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.8294, allocations: 1.312 kB / 1.349 GB, free: 10.7 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.016e-05/0.8294, allocations: 10.55 kB / 1.349 GB, free: 10.69 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.8294, allocations: 0.9062 kB / 1.349 GB, free: 10.69 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.8294, allocations: 7.938 kB / 1.349 GB, free: 10.68 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008955/0.8303, allocations: 363.4 kB / 1.349 GB, free: 10.48 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.38e-05/0.8303, allocations: 85.75 kB / 1.349 GB, free: 10.39 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.765e-05/0.8304, allocations: 1.766 kB / 1.349 GB, free: 10.39 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002925/0.8307, allocations: 34.8 kB / 1.349 GB, free: 10.38 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.184e-05/0.8307, allocations: 9.266 kB / 1.349 GB, free: 10.38 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/0.8307, allocations: 4.984 kB / 1.349 GB, free: 10.38 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.552e-05/0.8308, allocations: 113.7 kB / 1.349 GB, free: 10.29 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.8308, allocations: 1.188 kB / 1.349 GB, free: 10.29 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003468/0.8311, allocations: 54.53 kB / 1.349 GB, free: 10.28 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 (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.001609/0.8327, allocations: 1.057 MB / 1.351 GB, free: 9.504 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0009088/0.8336, allocations: 235.8 kB / 1.351 GB, free: 9.449 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.8336, allocations: 1.125 kB / 1.351 GB, free: 9.449 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0004313/0.8341, allocations: 113.4 kB / 1.351 GB, free: 9.426 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003634/0.8344, allocations: 25.92 kB / 1.351 GB, free: 9.414 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003523/0.838, allocations: 2.155 MB / 1.353 GB, free: 7.887 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001369/0.8381, allocations: 0.7224 MB / 1.354 GB, free: 7.188 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001876/0.8383, allocations: 37.95 kB / 1.354 GB, free: 7.164 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001441/0.8384, allocations: 54.38 kB / 1.354 GB, free: 7.125 MB / 1.061 GB Notification: Performance of SimCode: time 4.91e-07/0.8384, allocations: 1.094 kB / 1.354 GB, free: 7.125 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02144/0.8599, allocations: 4.539 MB / 1.358 GB, free: 6.555 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.344/9.204, allocations: 6.172 kB / 1.358 GB, free: 6.555 MB / 1.061 GB " [Timeout remaining time 291] (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: 15.190230336971581]