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.001365/0.001365, allocations: 107.7 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.001522/0.001522, allocations: 216.2 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.464/1.464, 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.118/3.118, allocations: 0.49 GB / 0.7916 GB, free: 33.51 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.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.002092/0.002092, allocations: 74.83 kB / 1.149 GB, free: 26.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3501/0.3522, allocations: 176.1 MB / 1.321 GB, free: 3.332 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio): time 0.003393/0.3556, allocations: 1.677 MB / 1.322 GB, free: 1.645 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1831/0.5387, allocations: 150.6 MB / 1.47 GB, free: 10.51 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001158/0.5389, allocations: 0 / 1.47 GB, free: 10.51 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 5.679e-05/0.5389, allocations: 7.875 kB / 1.47 GB, free: 10.5 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 9.512e-05/0.539, allocations: 23.84 kB / 1.47 GB, free: 10.48 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001005/0.54, allocations: 251.1 kB / 1.47 GB, free: 10.23 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0001798/0.5402, allocations: 95.62 kB / 1.47 GB, free: 10.14 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.5403, allocations: 19.94 kB / 1.47 GB, free: 10.12 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 7.687e-05/0.5404, allocations: 35.91 kB / 1.47 GB, free: 10.09 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.5405, allocations: 59.75 kB / 1.47 GB, free: 10.03 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 2.026e-05/0.5405, allocations: 8 kB / 1.47 GB, free: 10.02 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005768/0.5411, allocations: 255.3 kB / 1.47 GB, free: 9.77 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 2.914e-05/0.5411, allocations: 19.92 kB / 1.47 GB, free: 9.75 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 5.584e-05/0.5412, allocations: 35.8 kB / 1.47 GB, free: 9.715 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0004296/0.5416, allocations: 215.3 kB / 1.47 GB, free: 9.504 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.5416, allocations: 0 / 1.47 GB, free: 9.504 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.733e-06/0.5416, allocations: 0 / 1.47 GB, free: 9.504 MB / 1.17 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.5416, allocations: 0 / 1.47 GB, free: 9.504 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.0007561/0.5424, allocations: 426.9 kB / 1.471 GB, free: 9.039 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.5424, allocations: 15.98 kB / 1.471 GB, free: 9.023 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.523e-05/0.5425, allocations: 38.73 kB / 1.471 GB, free: 8.977 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001322/0.5438, allocations: 156.7 kB / 1.471 GB, free: 8.824 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001649/0.544, allocations: 184 kB / 1.471 GB, free: 8.605 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.527e-05/0.5441, allocations: 33.7 kB / 1.471 GB, free: 8.566 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.307e-05/0.5441, allocations: 4 kB / 1.471 GB, free: 8.562 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006022/0.5447, allocations: 165.5 kB / 1.471 GB, free: 8.395 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.5447, allocations: 4 kB / 1.471 GB, free: 8.391 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.767e-05/0.5447, allocations: 0 / 1.471 GB, free: 8.391 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.5447, allocations: 7.938 kB / 1.471 GB, free: 8.383 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008697/0.5456, allocations: 191.8 kB / 1.472 GB, free: 8.195 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009687/0.5466, allocations: 434.4 kB / 1.472 GB, free: 7.719 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005883/0.5471, allocations: 122.5 kB / 1.472 GB, free: 7.59 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004363/0.5476, allocations: 96.89 kB / 1.472 GB, free: 7.492 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 3.065e-05/0.5476, allocations: 7.922 kB / 1.472 GB, free: 7.484 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.489e-05/0.5476, allocations: 38.5 kB / 1.472 GB, free: 7.438 MB / 1.17 GB Notification: Performance of pre-optimization done (n=6): time 2.295e-06/0.5476, allocations: 0 / 1.472 GB, free: 7.438 MB / 1.17 GB Notification: Performance of matching and sorting (n=6): time 0.001538/0.5492, allocations: 309.4 kB / 1.473 GB, free: 7.129 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.533e-05/0.5492, allocations: 55.41 kB / 1.473 GB, free: 7.062 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001633/0.5494, allocations: 143.7 kB / 1.473 GB, free: 6.914 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.5494, allocations: 25.7 kB / 1.473 GB, free: 6.883 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 7.857e-05/0.5495, allocations: 100.1 kB / 1.473 GB, free: 6.781 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 3.624e-05/0.5495, allocations: 19.89 kB / 1.473 GB, free: 6.762 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.217e-05/0.5496, allocations: 21.7 kB / 1.473 GB, free: 6.734 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.5498, allocations: 322.8 kB / 1.473 GB, free: 6.41 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004404/0.5502, allocations: 83.92 kB / 1.473 GB, free: 6.328 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004185/0.5506, allocations: 95.84 kB / 1.473 GB, free: 6.234 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008208/0.5515, allocations: 173.1 kB / 1.474 GB, free: 6.062 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.5515, allocations: 3.938 kB / 1.474 GB, free: 6.059 MB / 1.17 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0009338/0.5524, allocations: 225.4 kB / 1.474 GB, free: 5.832 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.5524, allocations: 8 kB / 1.474 GB, free: 5.824 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.5524, allocations: 4 kB / 1.474 GB, free: 5.82 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.5524, allocations: 0 / 1.474 GB, free: 5.82 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003266/0.5528, allocations: 35.95 kB / 1.474 GB, free: 5.785 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.5528, allocations: 0 / 1.474 GB, free: 5.785 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002637/0.553, allocations: 51.83 kB / 1.474 GB, free: 5.734 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.451e-05/0.553, allocations: 0 / 1.474 GB, free: 5.734 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.0001382/0.5532, allocations: 113.8 kB / 1.474 GB, free: 5.613 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.094e-05/0.5532, allocations: 11.89 kB / 1.474 GB, free: 5.602 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.565e-05/0.5533, allocations: 8.719 kB / 1.474 GB, free: 5.59 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.5533, allocations: 7.938 kB / 1.474 GB, free: 5.582 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.5533, allocations: 4 kB / 1.474 GB, free: 5.578 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.5533, allocations: 3.984 kB / 1.474 GB, free: 5.574 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003037/0.5536, allocations: 209.5 kB / 1.474 GB, free: 5.32 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.5536, allocations: 4 kB / 1.474 GB, free: 5.316 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003014/0.5539, allocations: 39.89 kB / 1.474 GB, free: 5.277 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.511e-06/0.5539, allocations: 4 kB / 1.474 GB, free: 5.273 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/0.5539, allocations: 4 kB / 1.474 GB, free: 5.27 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.117e-06/0.5539, allocations: 3.984 kB / 1.474 GB, free: 5.266 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.5539, allocations: 0 / 1.474 GB, free: 5.266 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001022/0.5549, allocations: 311.3 kB / 1.475 GB, free: 4.945 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 6.54e-05/0.555, allocations: 92.98 kB / 1.475 GB, free: 4.836 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.602e-05/0.555, allocations: 0 / 1.475 GB, free: 4.836 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002789/0.5553, allocations: 31.97 kB / 1.475 GB, free: 4.805 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.242e-05/0.5554, allocations: 8.109 kB / 1.475 GB, free: 4.797 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/0.5554, allocations: 8 kB / 1.475 GB, free: 4.789 MB / 1.17 GB Notification: Performance of sorting global known variables: time 9.538e-05/0.5555, allocations: 109.1 kB / 1.475 GB, free: 4.684 MB / 1.17 GB Notification: Performance of sort global known variables: time 9e-08/0.5555, allocations: 0 / 1.475 GB, free: 4.684 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0002789/0.5558, allocations: 24 kB / 1.475 GB, free: 4.66 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.001422/0.5572, allocations: 0.8567 MB / 1.476 GB, free: 3.777 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0009292/0.5581, allocations: 187.8 kB / 1.476 GB, free: 3.594 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.5581, allocations: 0 / 1.476 GB, free: 3.594 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0004714/0.5586, allocations: 91.92 kB / 1.476 GB, free: 3.504 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003905/0.559, allocations: 19.92 kB / 1.476 GB, free: 3.484 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004723/0.5637, allocations: 1.977 MB / 1.478 GB, free: 1.434 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003579/0.5641, allocations: 0.6963 MB / 1.479 GB, free: 0.7109 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0001271/0.5642, allocations: 15.98 kB / 1.479 GB, free: 0.6953 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001105/0.5643, allocations: 27.42 kB / 1.479 GB, free: 0.668 MB / 1.17 GB Notification: Performance of SimCode: time 1.202e-06/0.5643, allocations: 0 / 1.479 GB, free: 0.668 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02764/0.5919, allocations: 2.931 MB / 1.482 GB, free: 13.89 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.431/9.023, allocations: 14.11 kB / 1.482 GB, free: 13.88 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SensibleHeatRatio_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.458013833966106]