Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001973/0.001973, allocations: 83.69 kB / 20.23 MB, free: 4.188 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002011/0.002011, allocations: 157.3 kB / 23.55 MB, free: 0.875 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.669/1.669, allocations: 177.1 MB / 203.9 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.084/3.084, allocations: 377.8 MB / 0.6232 GB, free: 8.535 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cooCap.TConIn|cooCap.TEvaIn|cooCap.m_flow|cooCap.Q_flow.1.|cooCap.EIR.1.",fileNamePrefix="Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource") translateModel(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cooCap.TConIn|cooCap.TEvaIn|cooCap.m_flow|cooCap.Q_flow.1.|cooCap.EIR.1.",fileNamePrefix="Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.8108 GB, free: 2.141 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.006e-05/3.179e-05, allocations: 4.703 kB / 0.8108 GB, free: 2.137 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.004297/0.004329, allocations: 2.164 MB / 0.8129 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0038/0.008129, allocations: 1.847 MB / 0.8147 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001804/0.00831, allocations: 0.6875 kB / 0.8147 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0008202/0.00913, allocations: 196.4 kB / 0.8149 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.000188/0.009318, allocations: 73.91 kB / 0.815 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001262/0.01058, allocations: 424.6 kB / 0.8154 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0006265/0.01121, allocations: 416.2 kB / 0.8158 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.01132, allocations: 24.53 kB / 0.8158 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003074/0.01163, allocations: 203.6 kB / 0.816 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002544/0.01188, allocations: 140.3 kB / 0.8161 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 7.641e-05/0.01196, allocations: 24 kB / 0.8161 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005503/0.01251, allocations: 264.1 kB / 0.8164 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001829/0.01269, allocations: 116.5 kB / 0.8165 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001761/0.01287, allocations: 107.8 kB / 0.8166 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0009596/0.01383, allocations: 0.6476 MB / 0.8172 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.01383, allocations: 3.984 kB / 0.8172 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.633e-06/0.01384, allocations: 0 / 0.8172 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.274e-06/0.01384, allocations: 1.375 kB / 0.8173 GB, free: 11.54 MB / 0.7761 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.001402/0.01525, allocations: 0.7457 MB / 0.818 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/0.01529, allocations: 8.781 kB / 0.818 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00161/0.0169, allocations: 153.7 kB / 0.8181 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005583/0.01746, allocations: 294.8 kB / 0.8184 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001646/0.01763, allocations: 123.4 kB / 0.8185 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.016e-05/0.01768, allocations: 19.16 kB / 0.8186 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007229/0.0184, allocations: 233.9 kB / 0.8188 GB, free: 9.887 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.01841, allocations: 192 / 0.8188 GB, free: 9.887 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.326e-05/0.01844, allocations: 5.656 kB / 0.8188 GB, free: 9.883 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.01845, allocations: 4 kB / 0.8188 GB, free: 9.879 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009509/0.0194, allocations: 235.5 kB / 0.819 GB, free: 9.652 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001721/0.02112, allocations: 0.6969 MB / 0.8197 GB, free: 8.922 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003992/0.02511, allocations: 482.4 kB / 0.8201 GB, free: 8.457 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004876/0.0256, allocations: 123.9 kB / 0.8203 GB, free: 8.332 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.843e-05/0.02563, allocations: 8 kB / 0.8203 GB, free: 8.324 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007378/0.02637, allocations: 263.1 kB / 0.8205 GB, free: 8.055 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 2.815e-06/0.02637, allocations: 3.938 kB / 0.8205 GB, free: 8.051 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16): time 0.001696/0.02806, allocations: 437.2 kB / 0.8209 GB, free: 7.617 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.903e-05/0.02812, allocations: 51.41 kB / 0.821 GB, free: 7.555 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006727/0.0288, allocations: 0.5104 MB / 0.8215 GB, free: 7.031 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0001931/0.02899, allocations: 33.64 kB / 0.8215 GB, free: 6.992 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002574/0.02925, allocations: 254.5 kB / 0.8218 GB, free: 6.738 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 7.906e-05/0.02933, allocations: 51.59 kB / 0.8218 GB, free: 6.688 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001491/0.02947, allocations: 59.33 kB / 0.8219 GB, free: 6.621 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003672/0.02984, allocations: 0.5548 MB / 0.8224 GB, free: 6.055 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006068/0.03045, allocations: 205.6 kB / 0.8226 GB, free: 5.848 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005789/0.03103, allocations: 205.7 kB / 0.8228 GB, free: 5.641 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009982/0.03203, allocations: 311.4 kB / 0.8231 GB, free: 5.328 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.241e-06/0.03203, allocations: 3.938 kB / 0.8231 GB, free: 5.324 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001536/0.03357, allocations: 0.5826 MB / 0.8237 GB, free: 4.723 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 6.442e-05/0.03363, allocations: 43.88 kB / 0.8237 GB, free: 4.676 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.03364, allocations: 0 / 0.8237 GB, free: 4.676 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.03366, allocations: 8 kB / 0.8237 GB, free: 4.668 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003701/0.03403, allocations: 47.89 kB / 0.8238 GB, free: 4.621 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.03404, allocations: 3.984 kB / 0.8238 GB, free: 4.617 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003041/0.03434, allocations: 31.86 kB / 0.8238 GB, free: 4.586 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.153e-05/0.03439, allocations: 11.98 kB / 0.8238 GB, free: 4.574 MB / 0.7761 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 (onOff.y,cooCap.checkBoundsTCon[1],$PRE.cooCap.checkBoundsTCon[1],cooCap.checkBoundsTEva[1],$PRE.cooCap.checkBoundsTEva[1],$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.0002454/0.03464, allocations: 192.5 kB / 0.824 GB, free: 4.375 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.812e-05/0.03474, allocations: 43.77 kB / 0.824 GB, free: 4.332 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.609e-05/0.03481, allocations: 35.41 kB / 0.8241 GB, free: 4.297 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/0.03482, allocations: 4 kB / 0.8241 GB, free: 4.293 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.03482, allocations: 0 / 0.8241 GB, free: 4.293 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/0.03483, allocations: 3.984 kB / 0.8241 GB, free: 4.289 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005518/0.03538, allocations: 352.3 kB / 0.8244 GB, free: 3.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.03539, allocations: 3.938 kB / 0.8244 GB, free: 3.906 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003666/0.03575, allocations: 63.88 kB / 0.8245 GB, free: 3.844 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.03576, allocations: 0 / 0.8245 GB, free: 3.844 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.794e-05/0.03579, allocations: 7.984 kB / 0.8245 GB, free: 3.836 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.634e-06/0.03579, allocations: 0 / 0.8245 GB, free: 3.836 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.0358, allocations: 3.938 kB / 0.8245 GB, free: 3.832 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001175/0.03697, allocations: 361.8 kB / 0.8248 GB, free: 3.457 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002414/0.03721, allocations: 95.56 kB / 0.8249 GB, free: 3.363 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.99e-05/0.03727, allocations: 4 kB / 0.8249 GB, free: 3.359 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003279/0.0376, allocations: 31.97 kB / 0.825 GB, free: 3.328 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.599e-05/0.0377, allocations: 19.97 kB / 0.825 GB, free: 3.309 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.016e-05/0.03774, allocations: 7.984 kB / 0.825 GB, free: 3.301 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.000409/0.03815, allocations: 331 kB / 0.8253 GB, free: 2.98 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.03815, allocations: 0 / 0.8253 GB, free: 2.98 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003807/0.03853, allocations: 79.94 kB / 0.8254 GB, free: 2.902 MB / 0.7761 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.checkBoundsTEva[1],cooCap.checkBoundsTCon[1],onOff.y) * Number of discrete states: 2 (cooCap.checkBoundsTEva[1],cooCap.checkBoundsTCon[1]) * 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.0003026/0.03883, allocations: 131.1 kB / 0.8255 GB, free: 2.766 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.00127/0.0401, allocations: 440.5 kB / 0.8259 GB, free: 2.312 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.0401, allocations: 0 / 0.8259 GB, free: 2.312 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0005302/0.04063, allocations: 159.5 kB / 0.8261 GB, free: 2.152 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004787/0.04111, allocations: 101.3 kB / 0.8262 GB, free: 2.051 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001508/0.04262, allocations: 0.58 MB / 0.8267 GB, free: 1.441 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002512/0.04287, allocations: 194.1 kB / 0.8269 GB, free: 1.234 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0003386/0.04321, allocations: 82.25 kB / 0.827 GB, free: 1.148 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001505/0.04336, allocations: 32.48 kB / 0.827 GB, free: 1.113 MB / 0.7761 GB Notification: Performance of SimCode: time 5.51e-07/0.04336, allocations: 0 / 0.827 GB, free: 1.113 MB / 0.7761 GB Notification: Performance of Templates: time 0.01589/0.05924, allocations: 7.604 MB / 0.8345 GB, free: 9.625 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.sim & ./Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.756354224984534]