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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) 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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009471/0.009471, allocations: 98.14 kB / 15.73 MB, free: 5.551 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0018/0.0018, allocations: 193.1 kB / 16.67 MB, free: 5.473 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.626/2.626, allocations: 469.8 MB / 0.7425 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002456/0.002456, allocations: 67.89 kB / 1.065 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.066/1.068, allocations: 159.1 MB / 1.221 GB, free: 2.129 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.004558/1.073, allocations: 2.151 MB / 1.223 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.003014/1.076, allocations: 1.851 MB / 1.224 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000188/1.076, allocations: 4 kB / 1.224 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0008485/1.077, allocations: 230.3 kB / 1.225 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002246/1.077, allocations: 67.36 kB / 1.225 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001196/1.078, allocations: 409.8 kB / 1.225 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0006441/1.079, allocations: 418.7 kB / 1.226 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/1.079, allocations: 24.39 kB / 1.226 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002097/1.079, allocations: 155.6 kB / 1.226 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002115/1.079, allocations: 155.4 kB / 1.226 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 5.42e-05/1.079, allocations: 28 kB / 1.226 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000413/1.08, allocations: 239.6 kB / 1.226 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.000153/1.08, allocations: 119.7 kB / 1.226 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001726/1.08, allocations: 167.1 kB / 1.226 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000706/1.081, allocations: 0.5927 MB / 1.227 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/1.081, allocations: 0 / 1.227 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.973e-06/1.081, allocations: 0 / 1.227 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.839e-06/1.081, allocations: 3.984 kB / 1.227 GB, free: 11.54 MB / 0.9512 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.001226/1.082, allocations: 0.7135 MB / 1.228 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/1.082, allocations: 12.03 kB / 1.228 GB, free: 10.76 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001638/1.084, allocations: 164.6 kB / 1.228 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004976/1.084, allocations: 366.6 kB / 1.228 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001055/1.084, allocations: 79.94 kB / 1.228 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.246e-05/1.084, allocations: 8.375 kB / 1.228 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000958/1.085, allocations: 441.3 kB / 1.229 GB, free: 9.668 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/1.085, allocations: 4 kB / 1.229 GB, free: 9.664 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.17e-05/1.085, allocations: 4 kB / 1.229 GB, free: 9.66 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/1.085, allocations: 0 / 1.229 GB, free: 9.66 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00144/1.087, allocations: 0.5854 MB / 1.229 GB, free: 9.074 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00181/1.089, allocations: 1.05 MB / 1.23 GB, free: 7.973 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004906/1.094, allocations: 0.8377 MB / 1.231 GB, free: 7.125 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007205/1.094, allocations: 312.6 kB / 1.231 GB, free: 6.816 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.642e-05/1.094, allocations: 0 / 1.231 GB, free: 6.816 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009643/1.095, allocations: 435 kB / 1.232 GB, free: 6.379 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=16): time 1.963e-06/1.095, allocations: 4 kB / 1.232 GB, free: 6.375 MB / 0.9512 GB Notification: Performance of matching and sorting (n=16): time 0.002426/1.098, allocations: 0.9176 MB / 1.233 GB, free: 5.453 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.274e-05/1.098, allocations: 67.28 kB / 1.233 GB, free: 5.375 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005488/1.098, allocations: 437.6 kB / 1.233 GB, free: 4.938 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 6.094e-05/1.098, allocations: 37.69 kB / 1.233 GB, free: 4.895 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001469/1.099, allocations: 164.1 kB / 1.233 GB, free: 4.73 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 7.301e-05/1.099, allocations: 59.52 kB / 1.233 GB, free: 4.672 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001436/1.099, allocations: 49.67 kB / 1.234 GB, free: 4.617 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001405/1.099, allocations: 354.7 kB / 1.234 GB, free: 4.262 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008552/1.1, allocations: 376.6 kB / 1.234 GB, free: 3.891 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009013/1.101, allocations: 373.6 kB / 1.235 GB, free: 3.527 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001552/1.102, allocations: 0.5959 MB / 1.235 GB, free: 2.922 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/1.102, allocations: 3.984 kB / 1.235 GB, free: 2.918 MB / 0.9512 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002237/1.104, allocations: 0.899 MB / 1.236 GB, free: 2.008 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 8.377e-05/1.105, allocations: 45.69 kB / 1.236 GB, free: 1.957 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/1.105, allocations: 0 / 1.236 GB, free: 1.957 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.984e-05/1.105, allocations: 0 / 1.236 GB, free: 1.957 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004894/1.105, allocations: 67.91 kB / 1.236 GB, free: 1.891 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.475e-05/1.105, allocations: 0 / 1.236 GB, free: 1.891 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004784/1.106, allocations: 43.89 kB / 1.236 GB, free: 1.848 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.414e-05/1.106, allocations: 15.92 kB / 1.236 GB, free: 1.832 MB / 0.9512 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.0004124/1.106, allocations: 190.2 kB / 1.236 GB, free: 1.637 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001374/1.106, allocations: 43.7 kB / 1.236 GB, free: 1.594 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001197/1.106, allocations: 39.47 kB / 1.236 GB, free: 1.559 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/1.106, allocations: 0 / 1.236 GB, free: 1.559 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/1.106, allocations: 0 / 1.236 GB, free: 1.559 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/1.106, allocations: 4 kB / 1.236 GB, free: 1.555 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007686/1.107, allocations: 0.5477 MB / 1.237 GB, free: 0.957 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/1.107, allocations: 4 kB / 1.237 GB, free: 0.9531 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004606/1.108, allocations: 55.92 kB / 1.237 GB, free: 0.8984 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/1.108, allocations: 0 / 1.237 GB, free: 0.8984 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.131e-05/1.108, allocations: 11.98 kB / 1.237 GB, free: 0.8867 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/1.108, allocations: 4 kB / 1.237 GB, free: 0.8828 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/1.108, allocations: 4 kB / 1.237 GB, free: 0.8789 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001704/1.109, allocations: 0.6643 MB / 1.238 GB, free: 200 kB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000288/1.11, allocations: 164.8 kB / 1.238 GB, free: 16 kB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.71e-05/1.11, allocations: 11.98 kB / 1.238 GB, free: 4 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004802/1.11, allocations: 36.02 kB / 1.238 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001163/1.11, allocations: 27.91 kB / 1.238 GB, free: 15.94 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.671e-05/1.11, allocations: 7.984 kB / 1.238 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0005783/1.111, allocations: 323 kB / 1.238 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/1.111, allocations: 0 / 1.238 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000481/1.111, allocations: 83.94 kB / 1.238 GB, free: 15.54 MB / 0.9669 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.0004252/1.112, allocations: 135.1 kB / 1.238 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001865/1.114, allocations: 0.7634 MB / 1.239 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/1.114, allocations: 0 / 1.239 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0008291/1.115, allocations: 323.7 kB / 1.24 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000476/1.115, allocations: 85.36 kB / 1.24 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002113/1.117, allocations: 0.8203 MB / 1.24 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004977/1.118, allocations: 0.8103 MB / 1.241 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0003513/1.118, allocations: 98.25 kB / 1.241 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001391/1.118, allocations: 35.41 kB / 1.241 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of SimCode: time 1.383e-06/1.118, allocations: 7.938 kB / 1.241 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of Templates: time 0.01456/1.133, allocations: 7.165 MB / 1.248 GB, free: 5.301 MB / 0.9669 GB make -j1 -f Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe 2>&1) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches