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.001573/0.001573, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001963/0.001963, allocations: 218.4 kB / 22.26 MB, free: 5.078 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.481/1.481, allocations: 230.6 MB / 256 MB, free: 8 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.364/3.364, allocations: 0.49 GB / 0.7951 GB, free: 33.39 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.002172/0.002172, allocations: 74.89 kB / 1.154 GB, free: 25.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3671/0.3693, allocations: 176.1 MB / 1.326 GB, free: 1.93 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio): time 0.003605/0.3729, allocations: 1.7 MB / 1.328 GB, free: 228 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1878/0.5607, allocations: 150.6 MB / 1.475 GB, free: 9.047 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001046/0.5608, allocations: 0 / 1.475 GB, free: 9.047 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 4.704e-05/0.5608, allocations: 7.875 kB / 1.475 GB, free: 9.039 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0001021/0.5609, allocations: 23.84 kB / 1.475 GB, free: 9.016 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009996/0.5619, allocations: 255.1 kB / 1.475 GB, free: 8.766 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0001909/0.5621, allocations: 91.69 kB / 1.475 GB, free: 8.676 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.5622, allocations: 19.98 kB / 1.475 GB, free: 8.656 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 8.35e-05/0.5623, allocations: 35.92 kB / 1.475 GB, free: 8.621 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001203/0.5624, allocations: 47.77 kB / 1.475 GB, free: 8.574 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 2.355e-05/0.5624, allocations: 12 kB / 1.475 GB, free: 8.562 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006474/0.5631, allocations: 271.3 kB / 1.475 GB, free: 8.297 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 3.399e-05/0.5631, allocations: 15.92 kB / 1.475 GB, free: 8.281 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 5.655e-05/0.5632, allocations: 43.8 kB / 1.475 GB, free: 8.238 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0004745/0.5637, allocations: 203.3 kB / 1.476 GB, free: 8.039 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.5637, allocations: 0 / 1.476 GB, free: 8.039 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.625e-06/0.5637, allocations: 0 / 1.476 GB, free: 8.039 MB / 1.17 GB Notification: Performance of Transformations before backend: time 7.685e-06/0.5637, allocations: 0 / 1.476 GB, free: 8.039 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.0007507/0.5644, allocations: 357.8 kB / 1.476 GB, free: 7.66 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.5645, allocations: 8.031 kB / 1.476 GB, free: 7.652 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.157e-05/0.5645, allocations: 38.75 kB / 1.476 GB, free: 7.605 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001306/0.5658, allocations: 160.6 kB / 1.476 GB, free: 7.449 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.566, allocations: 123.3 kB / 1.476 GB, free: 7.305 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001113/0.5661, allocations: 63.33 kB / 1.476 GB, free: 7.23 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.455e-05/0.5661, allocations: 8 kB / 1.476 GB, free: 7.223 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005829/0.5667, allocations: 159.8 kB / 1.477 GB, free: 7.062 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.5667, allocations: 4 kB / 1.477 GB, free: 7.059 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.932e-05/0.5667, allocations: 8 kB / 1.477 GB, free: 7.051 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.5667, allocations: 0 / 1.477 GB, free: 7.051 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008202/0.5675, allocations: 195.8 kB / 1.477 GB, free: 6.859 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000965/0.5685, allocations: 401.4 kB / 1.477 GB, free: 6.422 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005562/0.5691, allocations: 122.5 kB / 1.477 GB, free: 6.293 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003999/0.5695, allocations: 100.9 kB / 1.477 GB, free: 6.191 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 2.426e-05/0.5695, allocations: 0 / 1.477 GB, free: 6.191 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.38e-05/0.5695, allocations: 42.44 kB / 1.477 GB, free: 6.141 MB / 1.17 GB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.5695, allocations: 0 / 1.477 GB, free: 6.141 MB / 1.17 GB Notification: Performance of matching and sorting (n=6): time 0.001474/0.571, allocations: 309.4 kB / 1.478 GB, free: 5.832 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.808e-05/0.5711, allocations: 59.34 kB / 1.478 GB, free: 5.762 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001641/0.5712, allocations: 139.5 kB / 1.478 GB, free: 5.617 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 3.797e-05/0.5713, allocations: 25.7 kB / 1.478 GB, free: 5.586 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 8.307e-05/0.5713, allocations: 104.1 kB / 1.478 GB, free: 5.48 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 3.303e-05/0.5714, allocations: 11.91 kB / 1.478 GB, free: 5.469 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.208e-05/0.5714, allocations: 21.7 kB / 1.478 GB, free: 5.441 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001753/0.5716, allocations: 318.8 kB / 1.478 GB, free: 5.121 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004003/0.572, allocations: 91.91 kB / 1.478 GB, free: 5.031 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003726/0.5724, allocations: 87.91 kB / 1.478 GB, free: 4.945 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007624/0.5732, allocations: 176.6 kB / 1.479 GB, free: 4.77 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.5732, allocations: 0 / 1.479 GB, free: 4.77 MB / 1.17 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0008639/0.574, allocations: 221.8 kB / 1.479 GB, free: 4.547 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/0.574, allocations: 9.406 kB / 1.479 GB, free: 4.539 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.5741, allocations: 64 / 1.479 GB, free: 4.539 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.5741, allocations: 8 kB / 1.479 GB, free: 4.531 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003023/0.5744, allocations: 35.95 kB / 1.479 GB, free: 4.496 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.5744, allocations: 0 / 1.479 GB, free: 4.496 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002474/0.5746, allocations: 35.86 kB / 1.479 GB, free: 4.461 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.59e-05/0.5746, allocations: 7.984 kB / 1.479 GB, free: 4.453 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.0001294/0.5748, allocations: 118.4 kB / 1.479 GB, free: 4.328 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.896e-05/0.5748, allocations: 11.89 kB / 1.479 GB, free: 4.316 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.526e-05/0.5749, allocations: 8.719 kB / 1.479 GB, free: 4.301 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.5749, allocations: 4 kB / 1.479 GB, free: 4.297 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.5749, allocations: 0 / 1.479 GB, free: 4.297 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.5749, allocations: 7.938 kB / 1.479 GB, free: 4.289 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002843/0.5752, allocations: 192.5 kB / 1.479 GB, free: 4.059 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.5752, allocations: 4 kB / 1.479 GB, free: 4.055 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002842/0.5754, allocations: 39.89 kB / 1.479 GB, free: 4.016 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.5754, allocations: 4 kB / 1.479 GB, free: 4.012 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.5755, allocations: 0 / 1.479 GB, free: 4.012 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.5755, allocations: 4 kB / 1.479 GB, free: 4.008 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.5755, allocations: 0 / 1.479 GB, free: 4.008 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009178/0.5764, allocations: 323.2 kB / 1.48 GB, free: 3.676 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 3.084e-05/0.5764, allocations: 7.891 kB / 1.48 GB, free: 3.668 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.967e-05/0.5764, allocations: 4 kB / 1.48 GB, free: 3.664 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00027/0.5767, allocations: 35.95 kB / 1.48 GB, free: 3.629 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.481e-05/0.5768, allocations: 7.984 kB / 1.48 GB, free: 3.621 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.5768, allocations: 0 / 1.48 GB, free: 3.621 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0001115/0.5769, allocations: 112.6 kB / 1.48 GB, free: 3.512 MB / 1.17 GB Notification: Performance of sort global known variables: time 7e-08/0.5769, allocations: 0 / 1.48 GB, free: 3.512 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0002673/0.5772, allocations: 20 kB / 1.48 GB, free: 3.492 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.001313/0.5785, allocations: 0.8528 MB / 1.481 GB, free: 2.613 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0008372/0.5793, allocations: 199.9 kB / 1.481 GB, free: 2.418 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.5793, allocations: 0 / 1.481 GB, free: 2.418 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0003943/0.5797, allocations: 91.92 kB / 1.481 GB, free: 2.328 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003936/0.5801, allocations: 11.98 kB / 1.481 GB, free: 2.316 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004336/0.5844, allocations: 1.975 MB / 1.483 GB, free: 272 kB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003795/0.5848, allocations: 0.6963 MB / 1.484 GB, free: 15.54 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0001234/0.5849, allocations: 15.98 kB / 1.484 GB, free: 15.53 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.585, allocations: 27.42 kB / 1.484 GB, free: 15.5 MB / 1.186 GB Notification: Performance of SimCode: time 8.22e-07/0.585, allocations: 0 / 1.484 GB, free: 15.5 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03175/0.6168, allocations: 3.035 MB / 1.487 GB, free: 12.61 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/12.02, allocations: 6.031 kB / 1.487 GB, free: 12.61 MB / 1.186 GB " [Timeout remaining time 288] (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: 19.03239193209447]