Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001153/0.001153, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 197.4 kB / 16.53 MB, free: 6.664 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.367/1.367, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.661/2.661, allocations: 437 MB / 0.7104 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 59.91 kB / 0.8692 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7244/0.7259, allocations: 151.6 MB / 1.017 GB, free: 2.668 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.003469/0.7294, allocations: 2.147 MB / 1.019 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002637/0.7321, allocations: 1.847 MB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001178/0.7322, allocations: 8 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0006651/0.7329, allocations: 220.9 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001193/0.7331, allocations: 67.34 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.00108/0.7341, allocations: 410.3 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004545/0.7346, allocations: 406.8 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.7347, allocations: 48.33 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000151/0.7349, allocations: 155.6 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002051/0.7351, allocations: 155.4 kB / 1.023 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.011e-05/0.7352, allocations: 28 kB / 1.023 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003819/0.7356, allocations: 243.6 kB / 1.023 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000147/0.7357, allocations: 115.7 kB / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001639/0.7359, allocations: 167.2 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005787/0.7365, allocations: 0.5843 MB / 1.024 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.7365, allocations: 0 / 1.024 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of FrontEnd: time 8.92e-07/0.7365, allocations: 0 / 1.024 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.024e-06/0.7365, allocations: 7.938 kB / 1.024 GB, free: 12.07 MB / 0.7794 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.001139/0.7376, allocations: 0.7061 MB / 1.024 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.7377, allocations: 8.031 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001706/0.7394, allocations: 156.4 kB / 1.025 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004505/0.7399, allocations: 378.2 kB / 1.025 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000105/0.74, allocations: 71.95 kB / 1.025 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.916e-05/0.74, allocations: 8.375 kB / 1.025 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001156/0.7412, allocations: 441.4 kB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.7412, allocations: 0 / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.825e-05/0.7413, allocations: 0 / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.7413, allocations: 7.984 kB / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001606/0.7429, allocations: 0.5816 MB / 1.026 GB, free: 9.621 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001742/0.7446, allocations: 1.043 MB / 1.027 GB, free: 8.527 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004935/0.7496, allocations: 0.8456 MB / 1.028 GB, free: 7.672 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007524/0.7504, allocations: 308.7 kB / 1.028 GB, free: 7.367 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.04e-05/0.7504, allocations: 8.234 kB / 1.028 GB, free: 7.359 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00101/0.7514, allocations: 444.8 kB / 1.029 GB, free: 6.914 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 2.685e-06/0.7514, allocations: 0 / 1.029 GB, free: 6.914 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.002568/0.754, allocations: 0.9148 MB / 1.029 GB, free: 5.992 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.106e-05/0.7541, allocations: 55.41 kB / 1.029 GB, free: 5.926 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005021/0.7546, allocations: 429.6 kB / 1.03 GB, free: 5.5 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.125e-05/0.7546, allocations: 33.7 kB / 1.03 GB, free: 5.461 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001541/0.7548, allocations: 176 kB / 1.03 GB, free: 5.285 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.341e-05/0.7549, allocations: 47.3 kB / 1.03 GB, free: 5.238 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00013/0.755, allocations: 57.67 kB / 1.03 GB, free: 5.176 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000171/0.7552, allocations: 354.7 kB / 1.031 GB, free: 4.82 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008413/0.7561, allocations: 380.5 kB / 1.031 GB, free: 4.445 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008155/0.7569, allocations: 369.1 kB / 1.031 GB, free: 4.086 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001453/0.7583, allocations: 0.5972 MB / 1.032 GB, free: 3.48 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.7584, allocations: 0 / 1.032 GB, free: 3.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001883/0.7602, allocations: 0.9025 MB / 1.033 GB, free: 2.566 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.387e-05/0.7603, allocations: 41.69 kB / 1.033 GB, free: 2.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.7603, allocations: 0 / 1.033 GB, free: 2.52 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.7603, allocations: 7.938 kB / 1.033 GB, free: 2.512 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004477/0.7608, allocations: 59.86 kB / 1.033 GB, free: 2.453 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.7608, allocations: 11.98 kB / 1.033 GB, free: 2.441 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003858/0.7612, allocations: 39.86 kB / 1.033 GB, free: 2.402 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.553e-05/0.7613, allocations: 15.92 kB / 1.033 GB, free: 2.387 MB / 0.7794 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.0002278/0.7615, allocations: 186.9 kB / 1.033 GB, free: 2.195 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.507e-05/0.7616, allocations: 35.62 kB / 1.033 GB, free: 2.16 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.919e-05/0.7617, allocations: 47.45 kB / 1.033 GB, free: 2.113 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.7617, allocations: 0 / 1.033 GB, free: 2.113 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.7617, allocations: 3.938 kB / 1.033 GB, free: 2.109 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.7617, allocations: 0 / 1.033 GB, free: 2.109 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005149/0.7622, allocations: 0.5515 MB / 1.034 GB, free: 1.508 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.706e-06/0.7622, allocations: 0 / 1.034 GB, free: 1.508 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004362/0.7627, allocations: 71.84 kB / 1.034 GB, free: 1.438 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.7627, allocations: 0 / 1.034 GB, free: 1.438 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.585e-05/0.7627, allocations: 11.98 kB / 1.034 GB, free: 1.426 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.7627, allocations: 4 kB / 1.034 GB, free: 1.422 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.7627, allocations: 0 / 1.034 GB, free: 1.422 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001571/0.7643, allocations: 0.6582 MB / 1.034 GB, free: 0.7461 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001834/0.7645, allocations: 168.6 kB / 1.035 GB, free: 0.5625 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.435e-05/0.7646, allocations: 8 kB / 1.035 GB, free: 0.5547 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004361/0.765, allocations: 47.88 kB / 1.035 GB, free: 0.5078 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.838e-05/0.7651, allocations: 19.97 kB / 1.035 GB, free: 500 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.938e-05/0.7651, allocations: 11.98 kB / 1.035 GB, free: 488 kB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000382/0.7655, allocations: 323 kB / 1.035 GB, free: 168 kB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7655, allocations: 0 / 1.035 GB, free: 168 kB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003475/0.7659, allocations: 72 kB / 1.035 GB, free: 96 kB / 0.7794 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.0002782/0.7662, allocations: 151 kB / 1.035 GB, free: 15.94 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001759/0.7679, allocations: 0.78 MB / 1.036 GB, free: 15.15 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.7679, allocations: 0 / 1.036 GB, free: 15.15 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0008003/0.7688, allocations: 329.4 kB / 1.036 GB, free: 14.83 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000414/0.7692, allocations: 79.11 kB / 1.036 GB, free: 14.75 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001675/0.7709, allocations: 0.8274 MB / 1.037 GB, free: 13.9 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003532/0.7712, allocations: 0.818 MB / 1.038 GB, free: 13.06 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0003925/0.7716, allocations: 98.25 kB / 1.038 GB, free: 12.96 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001219/0.7718, allocations: 27.42 kB / 1.038 GB, free: 12.93 MB / 0.795 GB Notification: Performance of SimCode: time 4.21e-07/0.7718, allocations: 0 / 1.038 GB, free: 12.93 MB / 0.795 GB Notification: Performance of Templates: time 0.01376/0.7855, allocations: 7.134 MB / 1.045 GB, free: 5.871 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.makefile (rm -f Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.sim & ./Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches