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.001445/0.001445, 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.001488/0.001488, allocations: 196.8 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.529/1.529, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.888/2.888, allocations: 437 MB / 0.7104 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002259/0.002259, allocations: 59.91 kB / 0.8692 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7304/0.7327, allocations: 151.6 MB / 1.017 GB, free: 2.52 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.004128/0.7368, allocations: 2.14 MB / 1.019 GB, free: 372 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.003209/0.7401, allocations: 1.857 MB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001196/0.7402, allocations: 0 / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0007912/0.7411, allocations: 228.7 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001493/0.7412, allocations: 59.42 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001237/0.7425, allocations: 425.7 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005382/0.743, allocations: 404.2 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001538/0.7432, allocations: 40.33 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002255/0.7434, allocations: 163.5 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002469/0.7437, allocations: 155.4 kB / 1.023 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.231e-05/0.7437, allocations: 28 kB / 1.023 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000416/0.7442, allocations: 235.7 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001596/0.7443, allocations: 115.7 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000194/0.7445, allocations: 163.2 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0007303/0.7453, allocations: 0.5882 MB / 1.024 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.7453, allocations: 0 / 1.024 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of FrontEnd: time 5.2e-06/0.7453, allocations: 0 / 1.024 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.685e-06/0.7453, allocations: 3.938 kB / 1.024 GB, free: 11.93 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.00161/0.7469, allocations: 0.706 MB / 1.024 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 6.567e-05/0.747, allocations: 12.03 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001852/0.7489, allocations: 160.4 kB / 1.025 GB, free: 11 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006627/0.7495, allocations: 362.2 kB / 1.025 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001441/0.7497, allocations: 75.94 kB / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.721e-05/0.7497, allocations: 12.38 kB / 1.025 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00117/0.7509, allocations: 441.4 kB / 1.025 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.751, allocations: 3.938 kB / 1.025 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.824e-05/0.751, allocations: 0 / 1.025 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.317e-06/0.751, allocations: 4 kB / 1.025 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001778/0.7528, allocations: 0.5831 MB / 1.026 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002248/0.7551, allocations: 1.043 MB / 1.027 GB, free: 8.387 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005059/0.7601, allocations: 0.8455 MB / 1.028 GB, free: 7.531 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008853/0.7611, allocations: 312.9 kB / 1.028 GB, free: 7.223 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.489e-05/0.7611, allocations: 7.984 kB / 1.028 GB, free: 7.215 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001161/0.7623, allocations: 443 kB / 1.029 GB, free: 6.77 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 3.807e-06/0.7623, allocations: 0 / 1.029 GB, free: 6.77 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.002813/0.7651, allocations: 0.9187 MB / 1.029 GB, free: 5.844 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.963e-05/0.7652, allocations: 59.41 kB / 1.03 GB, free: 5.773 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007465/0.766, allocations: 433.6 kB / 1.03 GB, free: 5.344 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 8.629e-05/0.7661, allocations: 33.7 kB / 1.03 GB, free: 5.305 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002165/0.7663, allocations: 172 kB / 1.03 GB, free: 5.133 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.685e-05/0.7664, allocations: 51.3 kB / 1.03 GB, free: 5.082 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001627/0.7665, allocations: 49.67 kB / 1.03 GB, free: 5.027 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002886/0.7668, allocations: 358.7 kB / 1.031 GB, free: 4.668 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001028/0.7679, allocations: 380.6 kB / 1.031 GB, free: 4.293 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000901/0.7688, allocations: 367.7 kB / 1.031 GB, free: 3.934 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001582/0.7704, allocations: 0.5902 MB / 1.032 GB, free: 3.336 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.7704, allocations: 4 kB / 1.032 GB, free: 3.332 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002143/0.7726, allocations: 0.9046 MB / 1.033 GB, free: 2.414 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.816e-05/0.7726, allocations: 41.69 kB / 1.033 GB, free: 2.367 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.7727, allocations: 4 kB / 1.033 GB, free: 2.363 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.691e-05/0.7727, allocations: 3.938 kB / 1.033 GB, free: 2.359 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004871/0.7732, allocations: 67.91 kB / 1.033 GB, free: 2.293 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.7732, allocations: 0 / 1.033 GB, free: 2.293 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004548/0.7737, allocations: 39.86 kB / 1.033 GB, free: 2.254 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.997e-05/0.7737, allocations: 23.91 kB / 1.033 GB, free: 2.23 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.0003343/0.7741, allocations: 190.3 kB / 1.033 GB, free: 2.035 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001134/0.7742, allocations: 31.62 kB / 1.033 GB, free: 2.004 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.446e-05/0.7743, allocations: 43.45 kB / 1.033 GB, free: 1.961 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.7743, allocations: 4 kB / 1.033 GB, free: 1.957 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.151e-05/0.7743, allocations: 4 kB / 1.033 GB, free: 1.953 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.7743, allocations: 0 / 1.033 GB, free: 1.953 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007071/0.7751, allocations: 0.5515 MB / 1.034 GB, free: 1.352 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.7751, allocations: 0 / 1.034 GB, free: 1.352 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004933/0.7756, allocations: 59.92 kB / 1.034 GB, free: 1.293 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.201e-05/0.7756, allocations: 8 kB / 1.034 GB, free: 1.285 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.861e-05/0.7756, allocations: 3.984 kB / 1.034 GB, free: 1.281 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/0.7756, allocations: 4 kB / 1.034 GB, free: 1.277 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.7756, allocations: 0 / 1.034 GB, free: 1.277 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001767/0.7774, allocations: 0.6618 MB / 1.034 GB, free: 0.5977 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002367/0.7777, allocations: 164.6 kB / 1.035 GB, free: 428 kB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.386e-05/0.7778, allocations: 11.98 kB / 1.035 GB, free: 416 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004459/0.7782, allocations: 43.95 kB / 1.035 GB, free: 372 kB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.645e-05/0.7783, allocations: 19.97 kB / 1.035 GB, free: 352 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.161e-05/0.7783, allocations: 7.984 kB / 1.035 GB, free: 344 kB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0004144/0.7788, allocations: 323 kB / 1.035 GB, free: 24 kB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7788, allocations: 3.938 kB / 1.035 GB, free: 20 kB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004412/0.7792, allocations: 80.05 kB / 1.035 GB, free: 15.94 MB / 0.795 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.0003554/0.7796, allocations: 147 kB / 1.035 GB, free: 15.79 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001972/0.7816, allocations: 0.775 MB / 1.036 GB, free: 15 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.7816, allocations: 4 kB / 1.036 GB, free: 15 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0008631/0.7825, allocations: 327.7 kB / 1.036 GB, free: 14.68 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004512/0.7829, allocations: 70.83 kB / 1.036 GB, free: 14.61 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002039/0.785, allocations: 0.8235 MB / 1.037 GB, free: 13.77 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005444/0.7855, allocations: 0.8179 MB / 1.038 GB, free: 12.92 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0004407/0.786, allocations: 102.2 kB / 1.038 GB, free: 12.82 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001368/0.7861, allocations: 35.41 kB / 1.038 GB, free: 12.79 MB / 0.795 GB Notification: Performance of SimCode: time 6.11e-07/0.7861, allocations: 4 kB / 1.038 GB, free: 12.78 MB / 0.795 GB Notification: Performance of Templates: time 0.01526/0.8014, allocations: 7.127 MB / 1.045 GB, free: 5.73 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=400 -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