Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.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.0025/0.0025, 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.002629/0.002629, allocations: 213.3 kB / 22.24 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.671/1.671, allocations: 230.6 MB / 256 MB, free: 8.082 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.715/3.715, allocations: 0.5107 GB / 0.8158 GB, free: 18.04 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: translateModel(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cooCap.TConIn|cooCap.TEvaIn|cooCap.m_flow|cooCap.Q_flow.1.|cooCap.EIR.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource") translateModel(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cooCap.TConIn|cooCap.TEvaIn|cooCap.m_flow|cooCap.Q_flow.1.|cooCap.EIR.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource") [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.002204/0.002204, allocations: 66.06 kB / 1.186 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.549/0.5512, allocations: 181.9 MB / 1.364 GB, free: 13.67 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.005172/0.5564, allocations: 2.063 MB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003983/0.5604, allocations: 1.749 MB / 1.368 GB, free: 9.832 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002669/0.5606, allocations: 4 kB / 1.368 GB, free: 9.828 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0009662/0.5616, allocations: 202.8 kB / 1.368 GB, free: 9.629 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001921/0.5618, allocations: 67.42 kB / 1.368 GB, free: 9.562 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001391/0.5632, allocations: 427.4 kB / 1.368 GB, free: 9.148 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005988/0.5638, allocations: 417.2 kB / 1.369 GB, free: 8.742 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.5639, allocations: 16.59 kB / 1.369 GB, free: 8.723 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002214/0.5641, allocations: 159.6 kB / 1.369 GB, free: 8.566 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002863/0.5644, allocations: 155.4 kB / 1.369 GB, free: 8.414 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.429e-05/0.5645, allocations: 28 kB / 1.369 GB, free: 8.387 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005323/0.565, allocations: 255.6 kB / 1.369 GB, free: 8.137 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001759/0.5652, allocations: 119.7 kB / 1.369 GB, free: 8.02 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001773/0.5654, allocations: 127.4 kB / 1.369 GB, free: 7.895 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0008429/0.5662, allocations: 0.6033 MB / 1.37 GB, free: 7.289 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.5662, allocations: 0 / 1.37 GB, free: 7.289 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.954e-06/0.5662, allocations: 0 / 1.37 GB, free: 7.289 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.167e-06/0.5662, allocations: 0 / 1.37 GB, free: 7.289 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.001454/0.5677, allocations: 0.6499 MB / 1.371 GB, free: 6.602 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.416e-05/0.5678, allocations: 12.03 kB / 1.371 GB, free: 6.59 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001925/0.5697, allocations: 168.5 kB / 1.371 GB, free: 6.426 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006243/0.5703, allocations: 324.7 kB / 1.371 GB, free: 6.086 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001675/0.5705, allocations: 127.4 kB / 1.371 GB, free: 5.938 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.109e-05/0.5705, allocations: 8.375 kB / 1.371 GB, free: 5.93 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001123/0.5716, allocations: 457.3 kB / 1.372 GB, free: 5.477 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.5716, allocations: 0 / 1.372 GB, free: 5.477 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.562e-05/0.5717, allocations: 8 kB / 1.372 GB, free: 5.469 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.5717, allocations: 0 / 1.372 GB, free: 5.469 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001705/0.5734, allocations: 0.6011 MB / 1.372 GB, free: 4.867 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002054/0.5754, allocations: 0.9523 MB / 1.373 GB, free: 3.883 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004915/0.5804, allocations: 0.8573 MB / 1.374 GB, free: 3.016 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007791/0.5811, allocations: 312.6 kB / 1.374 GB, free: 2.707 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.855e-05/0.5812, allocations: 7.984 kB / 1.374 GB, free: 2.699 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001077/0.5822, allocations: 454.9 kB / 1.375 GB, free: 2.242 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 2.144e-06/0.5822, allocations: 0 / 1.375 GB, free: 2.242 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.002708/0.585, allocations: 0.9554 MB / 1.376 GB, free: 1.281 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.08e-05/0.585, allocations: 51.41 kB / 1.376 GB, free: 1.219 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006074/0.5856, allocations: 433.6 kB / 1.376 GB, free: 0.7852 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.217e-05/0.5857, allocations: 33.7 kB / 1.376 GB, free: 0.7461 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001877/0.5859, allocations: 164.1 kB / 1.376 GB, free: 0.582 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.83e-05/0.586, allocations: 59.58 kB / 1.376 GB, free: 0.5234 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001497/0.5861, allocations: 61.66 kB / 1.377 GB, free: 468 kB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002313/0.5864, allocations: 346.7 kB / 1.377 GB, free: 112 kB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00102/0.5874, allocations: 426.3 kB / 1.377 GB, free: 15.68 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009603/0.5883, allocations: 425.3 kB / 1.378 GB, free: 15.26 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001602/0.5899, allocations: 0.6247 MB / 1.378 GB, free: 14.63 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.5899, allocations: 0 / 1.378 GB, free: 14.63 MB / 1.076 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002109/0.592, allocations: 0.9594 MB / 1.379 GB, free: 13.65 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 6.468e-05/0.5921, allocations: 41.69 kB / 1.379 GB, free: 13.61 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.5921, allocations: 0 / 1.379 GB, free: 13.61 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.5921, allocations: 0 / 1.379 GB, free: 13.61 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000504/0.5926, allocations: 71.84 kB / 1.379 GB, free: 13.54 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.956e-06/0.5927, allocations: 0 / 1.379 GB, free: 13.54 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004254/0.5931, allocations: 43.95 kB / 1.379 GB, free: 13.49 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.356e-05/0.5931, allocations: 11.98 kB / 1.379 GB, free: 13.48 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (cooCap.checkBoundsTCon[1],$PRE.cooCap.checkBoundsTCon[1],cooCap.checkBoundsTEva[1],$PRE.cooCap.checkBoundsTEva[1],cooCap.stage,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 1 * 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.0002924/0.5934, allocations: 192.4 kB / 1.38 GB, free: 13.29 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.67e-05/0.5935, allocations: 39.7 kB / 1.38 GB, free: 13.25 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.538e-05/0.5936, allocations: 43.39 kB / 1.38 GB, free: 13.21 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/0.5936, allocations: 8 kB / 1.38 GB, free: 13.2 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.5936, allocations: 3.938 kB / 1.38 GB, free: 13.2 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.535e-06/0.5936, allocations: 3.984 kB / 1.38 GB, free: 13.19 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006113/0.5942, allocations: 452.6 kB / 1.38 GB, free: 12.72 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.5942, allocations: 0 / 1.38 GB, free: 12.72 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004781/0.5947, allocations: 67.84 kB / 1.38 GB, free: 12.65 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.5947, allocations: 4 kB / 1.38 GB, free: 12.65 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.442e-05/0.5947, allocations: 11.98 kB / 1.38 GB, free: 12.64 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.5947, allocations: 0 / 1.38 GB, free: 12.64 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.5947, allocations: 4 kB / 1.38 GB, free: 12.63 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001738/0.5965, allocations: 0.6789 MB / 1.381 GB, free: 11.94 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002519/0.5967, allocations: 95.67 kB / 1.381 GB, free: 11.84 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.378e-05/0.5968, allocations: 4 kB / 1.381 GB, free: 11.84 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000465/0.5973, allocations: 51.94 kB / 1.381 GB, free: 11.79 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.779e-05/0.5973, allocations: 15.97 kB / 1.381 GB, free: 11.77 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.49e-05/0.5974, allocations: 11.98 kB / 1.381 GB, free: 11.76 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0004028/0.5978, allocations: 323 kB / 1.381 GB, free: 11.45 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.5978, allocations: 0 / 1.381 GB, free: 11.45 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003876/0.5982, allocations: 83.92 kB / 1.381 GB, free: 11.36 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,cooCap.stage,cooCap.checkBoundsTEva[1],cooCap.checkBoundsTCon[1]) * Number of discrete states: 3 (cooCap.stage,cooCap.checkBoundsTEva[cooCap.stage],cooCap.checkBoundsTCon[cooCap.stage]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002728/0.5984, allocations: 119.2 kB / 1.382 GB, free: 11.23 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001943/0.6004, allocations: 0.8129 MB / 1.382 GB, free: 10.4 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.6004, allocations: 0 / 1.382 GB, free: 10.4 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0008735/0.6013, allocations: 331.7 kB / 1.383 GB, free: 10.08 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004851/0.6017, allocations: 77.31 kB / 1.383 GB, free: 10 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002079/0.6038, allocations: 0.8393 MB / 1.384 GB, free: 9.133 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002378/0.6041, allocations: 198.1 kB / 1.384 GB, free: 8.922 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0004/0.6045, allocations: 114.2 kB / 1.384 GB, free: 8.812 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001455/0.6046, allocations: 31.41 kB / 1.384 GB, free: 8.781 MB / 1.076 GB Notification: Performance of SimCode: time 1.182e-06/0.6046, allocations: 0 / 1.384 GB, free: 8.781 MB / 1.076 GB Notification: Performance of Templates: time 0.01579/0.6204, allocations: 8.042 MB / 1.392 GB, free: 0.832 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.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: 11.10074732080102]