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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001841/0.001841, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002162/0.002162, allocations: 195.1 kB / 16.25 MB, free: 6.621 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.488/1.488, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.945/2.945, allocations: 482.4 MB / 0.7543 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002157/0.002157, allocations: 70.27 kB / 0.9233 GB, free: 29.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4223/0.4245, allocations: 162.2 MB / 1.082 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.004068/0.4286, allocations: 2.187 MB / 1.084 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.003039/0.4317, allocations: 1.834 MB / 1.086 GB, free: 9.57 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001243/0.4319, allocations: 7.938 kB / 1.086 GB, free: 9.562 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0007822/0.4327, allocations: 215.2 kB / 1.086 GB, free: 9.352 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001539/0.4328, allocations: 59.48 kB / 1.086 GB, free: 9.293 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.00117/0.434, allocations: 392.6 kB / 1.086 GB, free: 8.918 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0005305/0.4346, allocations: 406.8 kB / 1.087 GB, free: 8.52 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.4347, allocations: 32.41 kB / 1.087 GB, free: 8.488 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001856/0.4349, allocations: 167.4 kB / 1.087 GB, free: 8.324 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002158/0.4351, allocations: 155.4 kB / 1.087 GB, free: 8.172 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 5.568e-05/0.4352, allocations: 28 kB / 1.087 GB, free: 8.145 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003969/0.4356, allocations: 239.7 kB / 1.087 GB, free: 7.91 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001536/0.4357, allocations: 115.7 kB / 1.087 GB, free: 7.797 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001848/0.4359, allocations: 171.2 kB / 1.088 GB, free: 7.629 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0006807/0.4366, allocations: 0.5881 MB / 1.088 GB, free: 7.039 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 8.326e-06/0.4366, allocations: 4 kB / 1.088 GB, free: 7.035 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.014e-06/0.4366, allocations: 8 kB / 1.088 GB, free: 7.027 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.413e-06/0.4367, allocations: 0 / 1.088 GB, free: 7.027 MB / 0.8419 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.001404/0.4381, allocations: 0.7021 MB / 1.089 GB, free: 6.27 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.4381, allocations: 8.031 kB / 1.089 GB, free: 6.262 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001694/0.4398, allocations: 156.4 kB / 1.089 GB, free: 6.109 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004993/0.4403, allocations: 362.3 kB / 1.089 GB, free: 5.719 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001184/0.4405, allocations: 75.94 kB / 1.089 GB, free: 5.633 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.529e-05/0.4405, allocations: 12.38 kB / 1.089 GB, free: 5.621 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001088/0.4416, allocations: 445.3 kB / 1.09 GB, free: 5.18 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.4416, allocations: 0 / 1.09 GB, free: 5.18 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.571e-05/0.4417, allocations: 7.938 kB / 1.09 GB, free: 5.172 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.305e-06/0.4417, allocations: 11.98 kB / 1.09 GB, free: 5.16 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001596/0.4433, allocations: 0.5738 MB / 1.09 GB, free: 4.586 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001964/0.4453, allocations: 1.043 MB / 1.091 GB, free: 3.492 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004917/0.4502, allocations: 0.8455 MB / 1.092 GB, free: 2.637 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007826/0.451, allocations: 312.6 kB / 1.093 GB, free: 2.328 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.063e-05/0.4511, allocations: 0 / 1.093 GB, free: 2.328 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001085/0.4521, allocations: 455 kB / 1.093 GB, free: 1.871 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=16): time 2.194e-06/0.4522, allocations: 4 kB / 1.093 GB, free: 1.867 MB / 0.8419 GB Notification: Performance of matching and sorting (n=16): time 0.002566/0.4547, allocations: 0.9137 MB / 1.094 GB, free: 0.9492 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.772e-05/0.4548, allocations: 55.41 kB / 1.094 GB, free: 0.8828 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005712/0.4554, allocations: 437.6 kB / 1.094 GB, free: 460 kB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 6.499e-05/0.4555, allocations: 29.7 kB / 1.094 GB, free: 424 kB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001731/0.4556, allocations: 176 kB / 1.095 GB, free: 244 kB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 7.945e-05/0.4557, allocations: 55.25 kB / 1.095 GB, free: 188 kB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001402/0.4559, allocations: 53.67 kB / 1.095 GB, free: 128 kB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002101/0.4561, allocations: 350.7 kB / 1.095 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008746/0.457, allocations: 380.6 kB / 1.095 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008768/0.4579, allocations: 369.5 kB / 1.096 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00153/0.4594, allocations: 0.6011 MB / 1.096 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.4594, allocations: 3.938 kB / 1.096 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001979/0.4614, allocations: 0.9046 MB / 1.097 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.347e-05/0.4615, allocations: 35.73 kB / 1.097 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/0.4615, allocations: 4 kB / 1.097 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.4615, allocations: 7.922 kB / 1.097 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004437/0.462, allocations: 63.92 kB / 1.097 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.064e-06/0.462, allocations: 4 kB / 1.097 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003959/0.4624, allocations: 43.8 kB / 1.097 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.119e-05/0.4624, allocations: 19.92 kB / 1.097 GB, free: 13.33 MB / 0.8575 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.0003474/0.4628, allocations: 189.7 kB / 1.098 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.236e-05/0.4629, allocations: 31.62 kB / 1.098 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.351e-05/0.463, allocations: 39.47 kB / 1.098 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.463, allocations: 0 / 1.098 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.148e-06/0.463, allocations: 0 / 1.098 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.463, allocations: 3.984 kB / 1.098 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006842/0.4637, allocations: 0.5438 MB / 1.098 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.4637, allocations: 0 / 1.098 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004393/0.4642, allocations: 67.91 kB / 1.098 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.4642, allocations: 0 / 1.098 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.325e-05/0.4642, allocations: 7.984 kB / 1.098 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.4642, allocations: 3.938 kB / 1.098 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.508e-06/0.4642, allocations: 8 kB / 1.098 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001653/0.4659, allocations: 0.6564 MB / 1.099 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002431/0.4662, allocations: 160.6 kB / 1.099 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.061e-05/0.4662, allocations: 11.98 kB / 1.099 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004213/0.4667, allocations: 43.94 kB / 1.099 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/0.4668, allocations: 19.98 kB / 1.099 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.288e-05/0.4668, allocations: 7.984 kB / 1.099 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0004095/0.4672, allocations: 331 kB / 1.099 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4672, allocations: 0 / 1.099 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000386/0.4676, allocations: 88.14 kB / 1.1 GB, free: 11.03 MB / 0.8575 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.0003084/0.4679, allocations: 143.1 kB / 1.1 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001793/0.4697, allocations: 0.7684 MB / 1.1 GB, free: 10.1 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.4698, allocations: 0 / 1.1 GB, free: 10.1 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0007874/0.4706, allocations: 330.7 kB / 1.101 GB, free: 9.777 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004573/0.471, allocations: 83.27 kB / 1.101 GB, free: 9.699 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001831/0.4729, allocations: 0.8978 MB / 1.102 GB, free: 8.777 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004913/0.4734, allocations: 0.8103 MB / 1.102 GB, free: 7.941 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0004263/0.4738, allocations: 98.25 kB / 1.103 GB, free: 7.848 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001356/0.4739, allocations: 39.41 kB / 1.103 GB, free: 7.809 MB / 0.8575 GB Notification: Performance of SimCode: time 8.92e-07/0.4739, allocations: 0 / 1.103 GB, free: 7.809 MB / 0.8575 GB Notification: Performance of Templates: time 0.01313/0.4871, allocations: 6.933 MB / 1.109 GB, free: 0.9453 MB / 0.8575 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=400 -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