Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001764/0.001764, allocations: 107.7 kB / 18.88 MB, free: 3.051 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002073/0.002073, allocations: 195.1 kB / 22.17 MB, free: 5.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.818/2.818, allocations: 476.7 MB / 0.7645 GB, free: 10.12 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002051/0.002051, allocations: 67.89 kB / 1.109 GB, free: 6.562 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9581/0.9602, allocations: 168.7 MB / 1.274 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.003835/0.964, allocations: 2.164 MB / 1.276 GB, free: 2.387 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003257/0.9672, allocations: 1.868 MB / 1.278 GB, free: 0.5117 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001432/0.9674, allocations: 7.938 kB / 1.278 GB, free: 0.5039 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0007863/0.9682, allocations: 229.4 kB / 1.278 GB, free: 288 kB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.000155/0.9683, allocations: 63.42 kB / 1.278 GB, free: 224 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00117/0.9695, allocations: 421.3 kB / 1.279 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005298/0.97, allocations: 410.8 kB / 1.279 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.9701, allocations: 28.31 kB / 1.279 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000181/0.9703, allocations: 155.5 kB / 1.279 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002416/0.9706, allocations: 163.4 kB / 1.279 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.224e-05/0.9706, allocations: 24 kB / 1.279 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004221/0.971, allocations: 247.7 kB / 1.28 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001507/0.9712, allocations: 115.7 kB / 1.28 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000188/0.9714, allocations: 175.1 kB / 1.28 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007314/0.9721, allocations: 0.5917 MB / 1.281 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.9721, allocations: 0 / 1.281 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.573e-06/0.9721, allocations: 0 / 1.281 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.613e-06/0.9721, allocations: 0 / 1.281 GB, free: 13.92 MB / 0.9825 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.001323/0.9734, allocations: 0.7175 MB / 1.281 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.9735, allocations: 16.03 kB / 1.281 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001741/0.9752, allocations: 156.6 kB / 1.281 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005684/0.9758, allocations: 366.6 kB / 1.282 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001248/0.9759, allocations: 75.94 kB / 1.282 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.143e-05/0.976, allocations: 8.375 kB / 1.282 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001072/0.977, allocations: 445.4 kB / 1.282 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.977, allocations: 0 / 1.282 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.469e-05/0.9771, allocations: 4 kB / 1.282 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.9771, allocations: 0 / 1.282 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001672/0.9787, allocations: 0.5893 MB / 1.283 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002041/0.9808, allocations: 1.05 MB / 1.284 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005188/0.986, allocations: 0.8338 MB / 1.285 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007855/0.9868, allocations: 304.6 kB / 1.285 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.454e-05/0.9868, allocations: 4 kB / 1.285 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001076/0.9879, allocations: 443 kB / 1.285 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 2.846e-06/0.9879, allocations: 0 / 1.285 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.002603/0.9905, allocations: 0.9187 MB / 1.286 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.287e-05/0.9905, allocations: 59.41 kB / 1.286 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005471/0.9911, allocations: 433.6 kB / 1.287 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.107e-05/0.9911, allocations: 33.7 kB / 1.287 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001499/0.9913, allocations: 168.1 kB / 1.287 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.254e-05/0.9914, allocations: 55.52 kB / 1.287 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001411/0.9915, allocations: 57.61 kB / 1.287 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001966/0.9917, allocations: 354.7 kB / 1.287 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009022/0.9926, allocations: 376.6 kB / 1.288 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008788/0.9935, allocations: 373.9 kB / 1.288 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001566/0.995, allocations: 0.5979 MB / 1.289 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.995, allocations: 0 / 1.289 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002053/0.9971, allocations: 0.9009 MB / 1.29 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.228e-05/0.9972, allocations: 45.69 kB / 1.29 GB, free: 4.348 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.9972, allocations: 3.984 kB / 1.29 GB, free: 4.344 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.192e-05/0.9972, allocations: 7.984 kB / 1.29 GB, free: 4.336 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004734/0.9977, allocations: 63.92 kB / 1.29 GB, free: 4.273 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.9977, allocations: 3.938 kB / 1.29 GB, free: 4.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003979/0.9981, allocations: 39.95 kB / 1.29 GB, free: 4.23 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.186e-05/0.9981, allocations: 15.92 kB / 1.29 GB, free: 4.215 MB / 0.9825 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.0002755/0.9984, allocations: 189.8 kB / 1.29 GB, free: 4.02 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.681e-05/0.9985, allocations: 39.7 kB / 1.29 GB, free: 3.98 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.304e-05/0.9985, allocations: 43.47 kB / 1.29 GB, free: 3.941 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.9985, allocations: 0 / 1.29 GB, free: 3.941 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.9986, allocations: 0 / 1.29 GB, free: 3.941 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.9986, allocations: 11.98 kB / 1.29 GB, free: 3.93 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006417/0.9992, allocations: 0.5438 MB / 1.291 GB, free: 3.336 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.9992, allocations: 4 kB / 1.291 GB, free: 3.332 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004669/0.9997, allocations: 63.84 kB / 1.291 GB, free: 3.27 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.9997, allocations: 4 kB / 1.291 GB, free: 3.266 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.992e-05/0.9997, allocations: 7.984 kB / 1.291 GB, free: 3.258 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.9997, allocations: 8 kB / 1.291 GB, free: 3.25 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.9997, allocations: 0 / 1.291 GB, free: 3.25 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001701/1.001, allocations: 0.6628 MB / 1.291 GB, free: 2.57 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002435/1.002, allocations: 156.9 kB / 1.291 GB, free: 2.398 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.825e-05/1.002, allocations: 7.984 kB / 1.291 GB, free: 2.391 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004376/1.002, allocations: 47.94 kB / 1.291 GB, free: 2.344 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.853e-05/1.002, allocations: 15.98 kB / 1.291 GB, free: 2.328 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-05/1.002, allocations: 11.98 kB / 1.291 GB, free: 2.316 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003561/1.003, allocations: 323 kB / 1.292 GB, free: 2 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/1.003, allocations: 0 / 1.292 GB, free: 2 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003634/1.003, allocations: 83.92 kB / 1.292 GB, free: 1.918 MB / 0.9825 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.0003044/1.003, allocations: 135.6 kB / 1.292 GB, free: 1.777 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001848/1.005, allocations: 0.7527 MB / 1.293 GB, free: 1.012 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/1.005, allocations: 0 / 1.293 GB, free: 1.012 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0008293/1.006, allocations: 315.8 kB / 1.293 GB, free: 0.7031 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000429/1.006, allocations: 89.94 kB / 1.293 GB, free: 0.6211 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001818/1.008, allocations: 0.8273 MB / 1.294 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004516/1.009, allocations: 0.8181 MB / 1.295 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003249/1.009, allocations: 94.25 kB / 1.295 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001321/1.009, allocations: 39.41 kB / 1.295 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of SimCode: time 5.31e-07/1.009, allocations: 4 kB / 1.295 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of Templates: time 0.0131/1.022, allocations: 7.25 MB / 1.302 GB, free: 7.602 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.sim & ./Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.230203606188297]