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.0009628/0.0009628, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 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.001712/0.001712, allocations: 177 kB / 23.36 MB, free: 1.129 MB / 18.57 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 0.9841/0.9841, allocations: 177.1 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] 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 2.379/2.379, allocations: 438.8 MB / 0.6827 GB, free: 13.57 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.[0-9,]+.|cooCap.EIR.[0-9,]+.",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.[0-9,]+.|cooCap.EIR.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.213e-06/1.213e-06, allocations: 0 / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.89e-05/2.011e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.002753/0.002773, allocations: 2.162 MB / 0.8407 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.002188/0.004962, allocations: 1.88 MB / 0.8425 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.621e-05/0.005058, allocations: 0 / 0.8425 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0005589/0.005617, allocations: 214.7 kB / 0.8427 GB, free: 9.918 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001088/0.005725, allocations: 67.3 kB / 0.8428 GB, free: 9.852 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007756/0.006501, allocations: 422.9 kB / 0.8432 GB, free: 9.438 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0003809/0.006882, allocations: 414.6 kB / 0.8436 GB, free: 9.031 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 8.891e-05/0.006971, allocations: 22.55 kB / 0.8436 GB, free: 9.012 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001861/0.007157, allocations: 207.6 kB / 0.8438 GB, free: 8.809 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000173/0.00733, allocations: 135.7 kB / 0.8439 GB, free: 8.676 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 4.065e-05/0.007371, allocations: 28 kB / 0.844 GB, free: 8.648 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003076/0.007678, allocations: 267.5 kB / 0.8442 GB, free: 8.387 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001099/0.007788, allocations: 115.7 kB / 0.8443 GB, free: 8.273 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 9.42e-05/0.007882, allocations: 115.7 kB / 0.8444 GB, free: 8.16 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0004323/0.008315, allocations: 446.7 kB / 0.8449 GB, free: 7.723 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.008318, allocations: 0 / 0.8449 GB, free: 7.723 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.432e-06/0.00832, allocations: 0 / 0.8449 GB, free: 7.723 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.008323, allocations: 0 / 0.8449 GB, free: 7.723 MB / 0.8073 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.0006715/0.008995, allocations: 0.578 MB / 0.8454 GB, free: 7.113 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.009029, allocations: 12.62 kB / 0.8454 GB, free: 7.102 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008194/0.009848, allocations: 172.6 kB / 0.8456 GB, free: 6.934 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002545/0.0101, allocations: 244 kB / 0.8458 GB, free: 6.668 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.035e-05/0.01019, allocations: 123.4 kB / 0.846 GB, free: 6.523 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.795e-05/0.01023, allocations: 12.36 kB / 0.846 GB, free: 6.512 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003262/0.01056, allocations: 189.5 kB / 0.8462 GB, free: 6.316 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.01056, allocations: 4.188 kB / 0.8462 GB, free: 6.312 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.318e-05/0.01059, allocations: 12.06 kB / 0.8462 GB, free: 6.301 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.01059, allocations: 0 / 0.8462 GB, free: 6.301 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000128/0.01072, allocations: 59.95 kB / 0.8462 GB, free: 6.242 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007307/0.01145, allocations: 425.5 kB / 0.8466 GB, free: 5.809 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001341/0.01279, allocations: 431.8 kB / 0.847 GB, free: 5.375 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.12e-05/0.01287, allocations: 40.84 kB / 0.8471 GB, free: 5.332 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.01289, allocations: 4 kB / 0.8471 GB, free: 5.328 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002052/0.0131, allocations: 157.4 kB / 0.8472 GB, free: 5.164 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=16): time 2.164e-06/0.0131, allocations: 0 / 0.8472 GB, free: 5.164 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16): time 0.000316/0.01341, allocations: 157.5 kB / 0.8474 GB, free: 5.004 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.664e-05/0.01345, allocations: 59.41 kB / 0.8474 GB, free: 4.934 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001924/0.01364, allocations: 315.3 kB / 0.8477 GB, free: 4.613 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.789e-05/0.01368, allocations: 33.7 kB / 0.8478 GB, free: 4.574 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.513e-05/0.01374, allocations: 117.1 kB / 0.8479 GB, free: 4.457 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.615e-05/0.01378, allocations: 55.52 kB / 0.8479 GB, free: 4.402 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.259e-05/0.01387, allocations: 45.66 kB / 0.848 GB, free: 4.352 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001781/0.01404, allocations: 350.7 kB / 0.8483 GB, free: 4 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001391/0.01418, allocations: 104.5 kB / 0.8484 GB, free: 3.891 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001052/0.01429, allocations: 113.6 kB / 0.8485 GB, free: 3.773 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001716/0.01446, allocations: 146.2 kB / 0.8487 GB, free: 3.621 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.01446, allocations: 4 kB / 0.8487 GB, free: 3.617 MB / 0.8073 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002843/0.01475, allocations: 271.1 kB / 0.8489 GB, free: 3.336 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.629e-05/0.01478, allocations: 41.69 kB / 0.849 GB, free: 3.289 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.01479, allocations: 7.984 kB / 0.849 GB, free: 3.281 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.0148, allocations: 0 / 0.849 GB, free: 3.281 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00018/0.01498, allocations: 47.88 kB / 0.849 GB, free: 3.234 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.226e-06/0.01499, allocations: 0 / 0.849 GB, free: 3.234 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001233/0.01511, allocations: 27.98 kB / 0.849 GB, free: 3.207 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.711e-05/0.01514, allocations: 7.984 kB / 0.8491 GB, free: 3.199 MB / 0.8073 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 (onOff.y,cooCap.checkBoundsTCon[1],$PRE.cooCap.checkBoundsTCon[1],cooCap.checkBoundsTEva[1],$PRE.cooCap.checkBoundsTEva[1],$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.0001152/0.01525, allocations: 124.6 kB / 0.8492 GB, free: 3.066 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.569e-05/0.0153, allocations: 31.91 kB / 0.8492 GB, free: 3.035 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.776e-05/0.01534, allocations: 35.41 kB / 0.8492 GB, free: 3.004 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.01534, allocations: 3.938 kB / 0.8492 GB, free: 3 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.844e-06/0.01534, allocations: 0 / 0.8492 GB, free: 3 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.01534, allocations: 0 / 0.8492 GB, free: 3 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001963/0.01554, allocations: 205.6 kB / 0.8494 GB, free: 2.781 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.01554, allocations: 7.984 kB / 0.8494 GB, free: 2.773 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000153/0.01569, allocations: 47.89 kB / 0.8495 GB, free: 2.727 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.0157, allocations: 3.984 kB / 0.8495 GB, free: 2.723 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.922e-05/0.01572, allocations: 11.92 kB / 0.8495 GB, free: 2.711 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.01572, allocations: 0 / 0.8495 GB, free: 2.711 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.01572, allocations: 4 kB / 0.8495 GB, free: 2.707 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002292/0.01595, allocations: 158.7 kB / 0.8497 GB, free: 2.531 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.01605, allocations: 63.66 kB / 0.8497 GB, free: 2.469 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.696e-05/0.01609, allocations: 7.938 kB / 0.8497 GB, free: 2.461 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/0.01623, allocations: 31.91 kB / 0.8498 GB, free: 2.43 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.625e-05/0.01627, allocations: 15.97 kB / 0.8498 GB, free: 2.414 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.8e-05/0.01629, allocations: 7.984 kB / 0.8498 GB, free: 2.406 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 9.261e-05/0.01638, allocations: 132.7 kB / 0.8499 GB, free: 2.273 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.01638, allocations: 0 / 0.8499 GB, free: 2.273 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002096/0.01659, allocations: 83.94 kB / 0.85 GB, free: 2.191 MB / 0.8073 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.checkBoundsTEva[1],cooCap.checkBoundsTCon[1],onOff.y) * Number of discrete states: 2 (cooCap.checkBoundsTEva[1],cooCap.checkBoundsTCon[1]) * 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.0001774/0.01677, allocations: 104.4 kB / 0.8501 GB, free: 2.082 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003025/0.01707, allocations: 245.7 kB / 0.8503 GB, free: 1.82 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.01708, allocations: 4 kB / 0.8503 GB, free: 1.816 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 9.881e-05/0.01718, allocations: 67.42 kB / 0.8504 GB, free: 1.75 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002456/0.01742, allocations: 91.42 kB / 0.8505 GB, free: 1.664 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.01845, allocations: 0.5417 MB / 0.851 GB, free: 1.09 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.034e-05/0.01853, allocations: 116.3 kB / 0.8511 GB, free: 0.957 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0002112/0.01874, allocations: 70.28 kB / 0.8512 GB, free: 0.8828 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002662/0.01901, allocations: 137.2 kB / 0.8513 GB, free: 0.7461 MB / 0.8073 GB Notification: Performance of SimCode: time 1.623e-06/0.01901, allocations: 4 kB / 0.8513 GB, free: 0.7422 MB / 0.8073 GB Notification: Performance of Templates: time 0.01076/0.02977, allocations: 8.282 MB / 0.8594 GB, free: 8.609 MB / 0.823 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.398009687196463]