Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.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.001361/0.001361, allocations: 106.1 kB / 16.45 MB, free: 6.453 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.001362/0.001362, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.515/1.515, allocations: 230.6 MB / 252.8 MB, free: 8.957 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 3.339/3.339, allocations: 0.49 GB / 0.7916 GB, free: 33.25 MB / 0.6231 GB " [Timeout remaining time 176] 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.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio,fileNamePrefix="Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SensibleHeatRatio",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio,fileNamePrefix="Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SensibleHeatRatio",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.002569/0.002569, allocations: 68.45 kB / 1.149 GB, free: 26.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3636/0.3662, allocations: 176.1 MB / 1.321 GB, free: 3.434 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio): time 0.003382/0.3696, allocations: 1.684 MB / 1.322 GB, free: 1.742 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1809/0.5505, allocations: 150.6 MB / 1.47 GB, free: 10.6 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001164/0.5506, allocations: 4 kB / 1.47 GB, free: 10.59 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 5.689e-05/0.5507, allocations: 7.922 kB / 1.47 GB, free: 10.59 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0001179/0.5508, allocations: 15.8 kB / 1.47 GB, free: 10.57 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001103/0.5519, allocations: 247.1 kB / 1.47 GB, free: 10.33 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0002201/0.5521, allocations: 99.69 kB / 1.47 GB, free: 10.23 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.5522, allocations: 19.92 kB / 1.47 GB, free: 10.21 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.5523, allocations: 39.91 kB / 1.47 GB, free: 10.17 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001172/0.5524, allocations: 43.78 kB / 1.47 GB, free: 10.13 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 2.586e-05/0.5525, allocations: 8 kB / 1.47 GB, free: 10.12 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006833/0.5531, allocations: 271.3 kB / 1.47 GB, free: 9.855 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 3.464e-05/0.5532, allocations: 15.92 kB / 1.47 GB, free: 9.84 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 6.121e-05/0.5532, allocations: 39.8 kB / 1.47 GB, free: 9.801 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0005268/0.5538, allocations: 207.3 kB / 1.47 GB, free: 9.598 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.5538, allocations: 0 / 1.47 GB, free: 9.598 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.854e-06/0.5538, allocations: 0 / 1.47 GB, free: 9.598 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.129e-05/0.5538, allocations: 0 / 1.47 GB, free: 9.598 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007553/0.5545, allocations: 432.4 kB / 1.471 GB, free: 9.129 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.5546, allocations: 11.98 kB / 1.471 GB, free: 9.117 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.252e-05/0.5546, allocations: 38.75 kB / 1.471 GB, free: 9.07 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001289/0.5559, allocations: 160.6 kB / 1.471 GB, free: 8.914 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001702/0.5561, allocations: 181.7 kB / 1.471 GB, free: 8.699 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.705e-05/0.5562, allocations: 33.69 kB / 1.471 GB, free: 8.66 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.189e-05/0.5562, allocations: 12 kB / 1.471 GB, free: 8.648 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006192/0.5568, allocations: 164.6 kB / 1.471 GB, free: 8.484 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.5569, allocations: 0 / 1.471 GB, free: 8.484 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.184e-05/0.5569, allocations: 4 kB / 1.471 GB, free: 8.48 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.5569, allocations: 0 / 1.471 GB, free: 8.48 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00088/0.5578, allocations: 199.8 kB / 1.472 GB, free: 8.285 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000999/0.5588, allocations: 430.4 kB / 1.472 GB, free: 7.812 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005914/0.5594, allocations: 122.5 kB / 1.472 GB, free: 7.684 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004425/0.5598, allocations: 100.9 kB / 1.472 GB, free: 7.582 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.5598, allocations: 0 / 1.472 GB, free: 7.582 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.459e-05/0.5599, allocations: 34.5 kB / 1.472 GB, free: 7.539 MB / 1.17 GB Notification: Performance of pre-optimization done (n=6): time 1.533e-06/0.5599, allocations: 4 kB / 1.472 GB, free: 7.535 MB / 1.17 GB Notification: Performance of matching and sorting (n=6): time 0.001532/0.5614, allocations: 313.5 kB / 1.473 GB, free: 7.223 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/0.5614, allocations: 55.41 kB / 1.473 GB, free: 7.156 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001609/0.5616, allocations: 143.5 kB / 1.473 GB, free: 7.008 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.559e-05/0.5616, allocations: 29.7 kB / 1.473 GB, free: 6.973 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 9.195e-05/0.5617, allocations: 100 kB / 1.473 GB, free: 6.871 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 3.436e-05/0.5617, allocations: 19.89 kB / 1.473 GB, free: 6.852 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.926e-05/0.5618, allocations: 17.72 kB / 1.473 GB, free: 6.828 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.562, allocations: 318.8 kB / 1.473 GB, free: 6.508 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004362/0.5624, allocations: 87.91 kB / 1.473 GB, free: 6.422 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004177/0.5628, allocations: 95.98 kB / 1.473 GB, free: 6.328 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008037/0.5636, allocations: 172.7 kB / 1.474 GB, free: 6.156 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.5636, allocations: 7.938 kB / 1.474 GB, free: 6.148 MB / 1.17 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0009236/0.5645, allocations: 217.4 kB / 1.474 GB, free: 5.93 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.5646, allocations: 8 kB / 1.474 GB, free: 5.922 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.5646, allocations: 0 / 1.474 GB, free: 5.922 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.5646, allocations: 0 / 1.474 GB, free: 5.922 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003249/0.5649, allocations: 35.95 kB / 1.474 GB, free: 5.887 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.729e-06/0.5649, allocations: 3.984 kB / 1.474 GB, free: 5.883 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002673/0.5652, allocations: 35.91 kB / 1.474 GB, free: 5.848 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.773e-05/0.5652, allocations: 4 kB / 1.474 GB, free: 5.844 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (onOff.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.0001212/0.5653, allocations: 113.8 kB / 1.474 GB, free: 5.723 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.848e-05/0.5654, allocations: 15.88 kB / 1.474 GB, free: 5.707 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.823e-05/0.5654, allocations: 16.72 kB / 1.474 GB, free: 5.688 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.5654, allocations: 4 kB / 1.474 GB, free: 5.684 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.5654, allocations: 3.938 kB / 1.474 GB, free: 5.68 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.5654, allocations: 7.922 kB / 1.474 GB, free: 5.672 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003265/0.5658, allocations: 221.5 kB / 1.474 GB, free: 5.406 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.5658, allocations: 0 / 1.474 GB, free: 5.406 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003129/0.5661, allocations: 43.89 kB / 1.474 GB, free: 5.363 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.5661, allocations: 0 / 1.474 GB, free: 5.363 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.5661, allocations: 0 / 1.474 GB, free: 5.363 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.111e-06/0.5661, allocations: 4 kB / 1.474 GB, free: 5.359 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.5661, allocations: 192 / 1.474 GB, free: 5.359 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009898/0.5671, allocations: 315.3 kB / 1.475 GB, free: 5.035 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 6.883e-05/0.5672, allocations: 89 kB / 1.475 GB, free: 4.93 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.604e-05/0.5672, allocations: 0 / 1.475 GB, free: 4.93 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002838/0.5675, allocations: 35.95 kB / 1.475 GB, free: 4.895 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.278e-05/0.5675, allocations: 7.984 kB / 1.475 GB, free: 4.887 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.5675, allocations: 3.938 kB / 1.475 GB, free: 4.883 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0001011/0.5676, allocations: 113.2 kB / 1.475 GB, free: 4.773 MB / 1.17 GB Notification: Performance of sort global known variables: time 7e-08/0.5676, allocations: 0 / 1.475 GB, free: 4.773 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0002667/0.5679, allocations: 16 kB / 1.475 GB, free: 4.758 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (onOff.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.001383/0.5693, allocations: 0.859 MB / 1.476 GB, free: 3.875 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0009481/0.5702, allocations: 191.8 kB / 1.476 GB, free: 3.688 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.5702, allocations: 4 kB / 1.476 GB, free: 3.684 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0004431/0.5707, allocations: 91.91 kB / 1.476 GB, free: 3.594 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003681/0.571, allocations: 11.98 kB / 1.476 GB, free: 3.582 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00465/0.5757, allocations: 1.985 MB / 1.478 GB, free: 1.523 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003247/0.576, allocations: 0.6924 MB / 1.479 GB, free: 0.8047 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.000126/0.5762, allocations: 16 kB / 1.479 GB, free: 0.7891 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.5763, allocations: 27.42 kB / 1.479 GB, free: 0.7617 MB / 1.17 GB Notification: Performance of SimCode: time 9.72e-07/0.5763, allocations: 0 / 1.479 GB, free: 0.7617 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03074/0.607, allocations: 2.931 MB / 1.482 GB, free: 13.97 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.381/8.988, allocations: 15.41 kB / 1.482 GB, free: 13.96 MB / 1.186 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SensibleHeatRatio.fmu > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SensibleHeatRatio.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable onOff.y in file Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio_res.csv. Warning: Get data of variable onOff.y from file Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.930888792965561]