Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001787/0.001787, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002365/0.002365, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.495/1.495, allocations: 230.6 MB / 256 MB, free: 7.801 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 3.461/3.461, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 MB / 0.6231 GB " [Timeout remaining time 176] 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.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SensibleHeatRatio",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio,fileNamePrefix="Buildings_latest_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.002129/0.002129, allocations: 64.66 kB / 1.186 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.387/0.3891, allocations: 181.9 MB / 1.363 GB, free: 14.11 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio): time 0.003149/0.3923, allocations: 1.649 MB / 1.365 GB, free: 12.45 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1706/0.5629, allocations: 129.3 MB / 1.491 GB, free: 10.61 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.891e-05/0.563, allocations: 4 kB / 1.491 GB, free: 10.61 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 5.151e-05/0.5631, allocations: 11.86 kB / 1.491 GB, free: 10.6 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 8.352e-05/0.5632, allocations: 15.86 kB / 1.491 GB, free: 10.58 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008914/0.5641, allocations: 247 kB / 1.492 GB, free: 10.34 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.000151/0.5642, allocations: 91.7 kB / 1.492 GB, free: 10.25 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 9.614e-05/0.5643, allocations: 19.98 kB / 1.492 GB, free: 10.23 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 6.589e-05/0.5644, allocations: 39.86 kB / 1.492 GB, free: 10.19 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 9.148e-05/0.5645, allocations: 43.81 kB / 1.492 GB, free: 10.15 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 2.034e-05/0.5645, allocations: 8 kB / 1.492 GB, free: 10.14 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000436/0.5649, allocations: 207.4 kB / 1.492 GB, free: 9.938 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 2.742e-05/0.5649, allocations: 15.92 kB / 1.492 GB, free: 9.922 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 4.463e-05/0.565, allocations: 35.86 kB / 1.492 GB, free: 9.887 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0003435/0.5653, allocations: 199.3 kB / 1.492 GB, free: 9.691 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.5653, allocations: 0 / 1.492 GB, free: 9.691 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.382e-06/0.5653, allocations: 0 / 1.492 GB, free: 9.691 MB / 1.186 GB Notification: Performance of Transformations before backend: time 5.099e-06/0.5653, allocations: 7.938 kB / 1.492 GB, free: 9.684 MB / 1.186 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.0006669/0.566, allocations: 353.8 kB / 1.493 GB, free: 9.309 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.5661, allocations: 8.031 kB / 1.493 GB, free: 9.301 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.34e-05/0.5661, allocations: 42.73 kB / 1.493 GB, free: 9.25 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001184/0.5673, allocations: 148.7 kB / 1.493 GB, free: 9.105 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.5674, allocations: 122.2 kB / 1.493 GB, free: 8.961 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001/0.5675, allocations: 63.39 kB / 1.493 GB, free: 8.887 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.058e-05/0.5675, allocations: 4 kB / 1.493 GB, free: 8.883 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005533/0.5681, allocations: 169.4 kB / 1.493 GB, free: 8.711 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.5681, allocations: 0 / 1.493 GB, free: 8.711 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.945e-05/0.5681, allocations: 4 kB / 1.493 GB, free: 8.707 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.5681, allocations: 4 kB / 1.493 GB, free: 8.703 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008038/0.5689, allocations: 191.8 kB / 1.493 GB, free: 8.516 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008788/0.5698, allocations: 377.5 kB / 1.494 GB, free: 8.105 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005253/0.5703, allocations: 130.5 kB / 1.494 GB, free: 7.969 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003975/0.5707, allocations: 92.91 kB / 1.494 GB, free: 7.875 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 1.83e-05/0.5708, allocations: 0 / 1.494 GB, free: 7.875 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/0.5708, allocations: 38.5 kB / 1.494 GB, free: 7.828 MB / 1.186 GB Notification: Performance of pre-optimization done (n=6): time 8.81e-07/0.5708, allocations: 0 / 1.494 GB, free: 7.828 MB / 1.186 GB Notification: Performance of matching and sorting (n=6): time 0.001408/0.5722, allocations: 317.3 kB / 1.494 GB, free: 7.512 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.513e-05/0.5722, allocations: 55.41 kB / 1.494 GB, free: 7.445 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/0.5724, allocations: 138.8 kB / 1.494 GB, free: 7.301 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.57e-05/0.5724, allocations: 25.7 kB / 1.494 GB, free: 7.27 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 6.451e-05/0.5725, allocations: 100.1 kB / 1.495 GB, free: 7.168 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 2.493e-05/0.5725, allocations: 19.8 kB / 1.495 GB, free: 7.148 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.042e-05/0.5725, allocations: 21.7 kB / 1.495 GB, free: 7.121 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.5727, allocations: 326.8 kB / 1.495 GB, free: 6.793 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004048/0.5731, allocations: 88.17 kB / 1.495 GB, free: 6.707 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003878/0.5735, allocations: 91.91 kB / 1.495 GB, free: 6.617 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007702/0.5743, allocations: 180.6 kB / 1.495 GB, free: 6.438 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.5743, allocations: 0 / 1.495 GB, free: 6.438 MB / 1.186 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0008309/0.5751, allocations: 221.4 kB / 1.495 GB, free: 6.215 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.5751, allocations: 9.719 kB / 1.495 GB, free: 6.207 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.5751, allocations: 0 / 1.495 GB, free: 6.207 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.5751, allocations: 0 / 1.495 GB, free: 6.207 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002989/0.5754, allocations: 35.95 kB / 1.495 GB, free: 6.172 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.5754, allocations: 0 / 1.495 GB, free: 6.172 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002428/0.5757, allocations: 39.89 kB / 1.495 GB, free: 6.133 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.5757, allocations: 0 / 1.495 GB, free: 6.133 MB / 1.186 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.0001013/0.5758, allocations: 113.8 kB / 1.496 GB, free: 6.012 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.031e-05/0.5758, allocations: 15.84 kB / 1.496 GB, free: 5.996 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.154e-05/0.5759, allocations: 12.72 kB / 1.496 GB, free: 5.98 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.5759, allocations: 7.938 kB / 1.496 GB, free: 5.973 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.5759, allocations: 3.984 kB / 1.496 GB, free: 5.969 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.5759, allocations: 0 / 1.496 GB, free: 5.969 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002376/0.5761, allocations: 176.6 kB / 1.496 GB, free: 5.754 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.5761, allocations: 3.984 kB / 1.496 GB, free: 5.75 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002752/0.5764, allocations: 39.89 kB / 1.496 GB, free: 5.711 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.5764, allocations: 4 kB / 1.496 GB, free: 5.707 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.5764, allocations: 3.984 kB / 1.496 GB, free: 5.703 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.5764, allocations: 0 / 1.496 GB, free: 5.703 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.5764, allocations: 4 kB / 1.496 GB, free: 5.699 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008962/0.5773, allocations: 319.5 kB / 1.496 GB, free: 5.371 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 2.442e-05/0.5773, allocations: 11.89 kB / 1.496 GB, free: 5.359 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.481e-05/0.5774, allocations: 0 / 1.496 GB, free: 5.359 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002722/0.5776, allocations: 39.95 kB / 1.496 GB, free: 5.32 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.434e-05/0.5777, allocations: 3.938 kB / 1.496 GB, free: 5.316 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.546e-05/0.5777, allocations: 7.984 kB / 1.496 GB, free: 5.309 MB / 1.186 GB Notification: Performance of sorting global known variables: time 8.457e-05/0.5778, allocations: 112.9 kB / 1.496 GB, free: 5.199 MB / 1.186 GB Notification: Performance of sort global known variables: time 7e-08/0.5778, allocations: 0 / 1.496 GB, free: 5.199 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0002492/0.578, allocations: 16 kB / 1.496 GB, free: 5.184 MB / 1.186 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.001278/0.5793, allocations: 0.8489 MB / 1.497 GB, free: 4.309 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.000848/0.5801, allocations: 191.8 kB / 1.497 GB, free: 4.121 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.5801, allocations: 4 kB / 1.497 GB, free: 4.117 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0004079/0.5806, allocations: 95.91 kB / 1.497 GB, free: 4.023 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003723/0.5809, allocations: 15.94 kB / 1.497 GB, free: 4.008 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004204/0.5851, allocations: 1.979 MB / 1.499 GB, free: 1.953 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.946e-05/0.5852, allocations: 75.89 kB / 1.499 GB, free: 1.855 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0001247/0.5853, allocations: 12 kB / 1.499 GB, free: 1.844 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.669e-05/0.5854, allocations: 27.42 kB / 1.5 GB, free: 1.816 MB / 1.186 GB Notification: Performance of SimCode: time 7.22e-07/0.5854, allocations: 0 / 1.5 GB, free: 1.816 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03105/0.6165, allocations: 3.572 MB / 1.503 GB, free: 14.4 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.75, allocations: 9.766 kB / 1.503 GB, free: 14.4 MB / 1.201 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SensibleHeatRatio_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SensibleHeatRatio.fmu > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SensibleHeatRatio.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 18.904606884811074]