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.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.005907/0.005907, allocations: 100.5 kB / 15.73 MB, free: 5.988 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.001356/0.001356, allocations: 192.5 kB / 16.67 MB, free: 5.91 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.417/1.417, allocations: 222.9 MB / 240.4 MB, free: 4.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.864/2.864, allocations: 461.9 MB / 0.7348 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001803/0.001804, allocations: 71.91 kB / 1.054 GB, free: 7.141 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4243/0.4261, allocations: 157.4 MB / 1.208 GB, free: 9.645 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.00412/0.4302, allocations: 2.156 MB / 1.21 GB, free: 7.473 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003267/0.4335, allocations: 1.843 MB / 1.212 GB, free: 5.625 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002708/0.4338, allocations: 0 / 1.212 GB, free: 5.625 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0008878/0.4348, allocations: 234.7 kB / 1.212 GB, free: 5.395 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002846/0.4351, allocations: 59.42 kB / 1.212 GB, free: 5.336 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001371/0.4365, allocations: 425.5 kB / 1.212 GB, free: 4.926 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000746/0.4372, allocations: 406.8 kB / 1.213 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001603/0.4374, allocations: 36.39 kB / 1.213 GB, free: 4.488 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003324/0.4378, allocations: 159.5 kB / 1.213 GB, free: 4.332 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002777/0.438, allocations: 151.4 kB / 1.213 GB, free: 4.184 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.969e-05/0.4381, allocations: 28 kB / 1.213 GB, free: 4.156 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004623/0.4386, allocations: 243.7 kB / 1.213 GB, free: 3.918 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001807/0.4388, allocations: 115.7 kB / 1.213 GB, free: 3.805 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002291/0.439, allocations: 163.2 kB / 1.214 GB, free: 3.645 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0008124/0.4399, allocations: 0.6037 MB / 1.214 GB, free: 3.039 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.4399, allocations: 4 kB / 1.214 GB, free: 3.035 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.044e-06/0.4399, allocations: 0 / 1.214 GB, free: 3.035 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.481e-05/0.4399, allocations: 0 / 1.214 GB, free: 3.035 MB / 0.9669 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.001587/0.4415, allocations: 0.7021 MB / 1.215 GB, free: 2.277 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.71e-05/0.4416, allocations: 12.62 kB / 1.215 GB, free: 2.266 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001843/0.4434, allocations: 156.4 kB / 1.215 GB, free: 2.113 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005369/0.444, allocations: 366.3 kB / 1.215 GB, free: 1.719 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001175/0.4441, allocations: 71.95 kB / 1.215 GB, free: 1.637 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.651e-05/0.4442, allocations: 20.3 kB / 1.215 GB, free: 1.617 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001082/0.4452, allocations: 446.9 kB / 1.216 GB, free: 1.176 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.4453, allocations: 0 / 1.216 GB, free: 1.176 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.371e-05/0.4453, allocations: 7.984 kB / 1.216 GB, free: 1.168 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.4453, allocations: 4 kB / 1.216 GB, free: 1.164 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001636/0.447, allocations: 0.5816 MB / 1.216 GB, free: 0.582 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00202/0.449, allocations: 1.035 MB / 1.217 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004846/0.4539, allocations: 0.8417 MB / 1.218 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007883/0.4547, allocations: 312.6 kB / 1.219 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.647e-05/0.4547, allocations: 3.938 kB / 1.219 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001034/0.4557, allocations: 451 kB / 1.219 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 2.294e-06/0.4558, allocations: 0 / 1.219 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.002564/0.4583, allocations: 0.9108 MB / 1.22 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.992e-05/0.4584, allocations: 59.41 kB / 1.22 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005342/0.4589, allocations: 433.6 kB / 1.22 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.62e-05/0.459, allocations: 29.7 kB / 1.22 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000163/0.4592, allocations: 176 kB / 1.221 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.669e-05/0.4593, allocations: 59.19 kB / 1.221 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001335/0.4594, allocations: 53.67 kB / 1.221 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.4596, allocations: 346.8 kB / 1.221 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008806/0.4604, allocations: 388.6 kB / 1.221 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008663/0.4613, allocations: 367.7 kB / 1.222 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001517/0.4629, allocations: 0.5973 MB / 1.222 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.4629, allocations: 0 / 1.222 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001979/0.4649, allocations: 0.9022 MB / 1.223 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.234e-05/0.4649, allocations: 37.69 kB / 1.223 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.4649, allocations: 4 kB / 1.223 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.465, allocations: 0 / 1.223 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004705/0.4654, allocations: 67.86 kB / 1.223 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.4655, allocations: 7.984 kB / 1.223 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000425/0.4659, allocations: 43.8 kB / 1.223 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.4e-05/0.466, allocations: 19.92 kB / 1.223 GB, free: 9.34 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.000267/0.4662, allocations: 185.8 kB / 1.224 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.516e-05/0.4663, allocations: 31.62 kB / 1.224 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.429e-05/0.4664, allocations: 39.47 kB / 1.224 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.4664, allocations: 0 / 1.224 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/0.4664, allocations: 0 / 1.224 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.4664, allocations: 0 / 1.224 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005856/0.467, allocations: 0.552 MB / 1.224 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.467, allocations: 0 / 1.224 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004601/0.4675, allocations: 67.86 kB / 1.224 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.4675, allocations: 0 / 1.224 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.092e-05/0.4676, allocations: 7.984 kB / 1.224 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.4676, allocations: 0 / 1.224 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.4676, allocations: 11.94 kB / 1.224 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001672/0.4693, allocations: 0.6592 MB / 1.225 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001979/0.4695, allocations: 168.6 kB / 1.225 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.238e-05/0.4696, allocations: 4 kB / 1.225 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004561/0.47, allocations: 43.94 kB / 1.225 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.571e-05/0.4701, allocations: 27.95 kB / 1.225 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.147e-05/0.4701, allocations: 7.984 kB / 1.225 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003668/0.4705, allocations: 331 kB / 1.225 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4705, allocations: 0 / 1.225 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003978/0.4709, allocations: 83.91 kB / 1.225 GB, free: 7.043 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.0002922/0.4712, allocations: 131.2 kB / 1.226 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001847/0.4731, allocations: 0.7619 MB / 1.226 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.4731, allocations: 0 / 1.226 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0008228/0.4739, allocations: 323.8 kB / 1.227 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004491/0.4744, allocations: 84.7 kB / 1.227 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001806/0.4762, allocations: 0.8274 MB / 1.228 GB, free: 4.879 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004196/0.4766, allocations: 0.8179 MB / 1.228 GB, free: 4.035 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0003719/0.477, allocations: 102.2 kB / 1.228 GB, free: 3.938 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001377/0.4772, allocations: 31.41 kB / 1.228 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of SimCode: time 4.01e-07/0.4772, allocations: 4 kB / 1.228 GB, free: 3.902 MB / 0.9825 GB Notification: Performance of Templates: time 0.01359/0.4908, allocations: 7.146 MB / 1.235 GB, free: 12.82 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe 2>&1) 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) Reference file matches