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.001625/0.001625, allocations: 80.3 kB / 21.47 MB, free: 3.023 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.001184/0.001184, allocations: 167.8 kB / 24.86 MB, free: 8.871 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 0.999/0.999, allocations: 177.1 MB / 205.3 MB, free: 5.523 MB / 186.7 MB " [Timeout remaining time 179] 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 1.935/1.935, allocations: 377.9 MB / 0.6247 GB, free: 8.398 MB / 0.5886 GB " [Timeout remaining time 178] 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.[0-9,]+.|cooCap.EIR.[0-9,]+.",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.[0-9,]+.|cooCap.EIR.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.674e-06/1.674e-06, allocations: 0 / 0.8128 GB, free: 328 kB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.357e-05/2.525e-05, allocations: 2.312 kB / 0.8128 GB, free: 324 kB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.002898/0.002923, allocations: 2.159 MB / 0.8149 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.00214/0.005063, allocations: 1.854 MB / 0.8167 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001179/0.005181, allocations: 0.5938 kB / 0.8167 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0006083/0.005789, allocations: 204 kB / 0.8169 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001268/0.005916, allocations: 65.77 kB / 0.8169 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.000939/0.006855, allocations: 417.6 kB / 0.8173 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0004477/0.007303, allocations: 415.8 kB / 0.8177 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.958e-05/0.007392, allocations: 24.58 kB / 0.8178 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000218/0.00761, allocations: 203.6 kB / 0.8179 GB, free: 11 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001866/0.007797, allocations: 145.2 kB / 0.8181 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 4.427e-05/0.007841, allocations: 28 kB / 0.8181 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000373/0.008214, allocations: 255.5 kB / 0.8184 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001391/0.008353, allocations: 125.6 kB / 0.8185 GB, free: 10.46 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001027/0.008456, allocations: 107.8 kB / 0.8186 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0005401/0.008996, allocations: 446.7 kB / 0.819 GB, free: 9.922 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.009, allocations: 0 / 0.819 GB, free: 9.922 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.925e-06/0.009003, allocations: 4 kB / 0.819 GB, free: 9.918 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.179e-06/0.009008, allocations: 0 / 0.819 GB, free: 9.918 MB / 0.7292 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.0008785/0.009887, allocations: 0.7431 MB / 0.8197 GB, free: 9.133 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.00992, allocations: 13.25 kB / 0.8197 GB, free: 9.121 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008342/0.01075, allocations: 161.1 kB / 0.8199 GB, free: 8.969 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002957/0.01105, allocations: 270.9 kB / 0.8202 GB, free: 8.68 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.239e-05/0.01114, allocations: 127.3 kB / 0.8203 GB, free: 8.531 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.217e-05/0.01117, allocations: 13.53 kB / 0.8203 GB, free: 8.52 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003485/0.01152, allocations: 179.6 kB / 0.8205 GB, free: 8.34 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.01153, allocations: 192 / 0.8205 GB, free: 8.34 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.222e-05/0.01156, allocations: 4.812 kB / 0.8205 GB, free: 8.336 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.01156, allocations: 3.938 kB / 0.8205 GB, free: 8.332 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001484/0.01171, allocations: 74.38 kB / 0.8205 GB, free: 8.262 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00085/0.01256, allocations: 0.5782 MB / 0.8211 GB, free: 7.66 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001572/0.01413, allocations: 400 kB / 0.8215 GB, free: 7.277 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.701e-05/0.01423, allocations: 53.31 kB / 0.8215 GB, free: 7.223 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.122e-05/0.01425, allocations: 7.938 kB / 0.8215 GB, free: 7.215 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002179/0.01447, allocations: 149.3 kB / 0.8217 GB, free: 7.055 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=16): time 2.154e-06/0.01447, allocations: 4 kB / 0.8217 GB, free: 7.051 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16): time 0.0004671/0.01494, allocations: 219.5 kB / 0.8219 GB, free: 6.832 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/0.01498, allocations: 55.39 kB / 0.822 GB, free: 6.766 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003197/0.0153, allocations: 446.6 kB / 0.8224 GB, free: 6.312 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.515e-05/0.01534, allocations: 41.69 kB / 0.8224 GB, free: 6.266 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.000153/0.0155, allocations: 242.7 kB / 0.8227 GB, free: 6.023 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.871e-05/0.01555, allocations: 59.52 kB / 0.8227 GB, free: 5.965 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.01566, allocations: 59.31 kB / 0.8228 GB, free: 5.898 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001929/0.01585, allocations: 0.543 MB / 0.8233 GB, free: 5.344 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001607/0.01601, allocations: 101.6 kB / 0.8234 GB, free: 5.238 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001297/0.01614, allocations: 109.6 kB / 0.8235 GB, free: 5.125 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002081/0.01635, allocations: 147 kB / 0.8236 GB, free: 4.973 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.01635, allocations: 0 / 0.8236 GB, free: 4.973 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005219/0.01687, allocations: 414.7 kB / 0.824 GB, free: 4.551 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.936e-05/0.01692, allocations: 41.69 kB / 0.8241 GB, free: 4.504 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.01693, allocations: 0 / 0.8241 GB, free: 4.504 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.448e-06/0.01694, allocations: 4 kB / 0.8241 GB, free: 4.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000206/0.01714, allocations: 51.94 kB / 0.8241 GB, free: 4.449 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.01715, allocations: 3.984 kB / 0.8241 GB, free: 4.445 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002732/0.01742, allocations: 27.88 kB / 0.8242 GB, free: 4.418 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.44e-05/0.01746, allocations: 11.98 kB / 0.8242 GB, free: 4.406 MB / 0.7292 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.0001451/0.0176, allocations: 180.4 kB / 0.8243 GB, free: 4.219 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.634e-05/0.01767, allocations: 47.7 kB / 0.8244 GB, free: 4.172 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.447e-05/0.01771, allocations: 31.41 kB / 0.8244 GB, free: 4.137 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.01771, allocations: 0 / 0.8244 GB, free: 4.137 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.01772, allocations: 0 / 0.8244 GB, free: 4.137 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.01772, allocations: 4 kB / 0.8244 GB, free: 4.133 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002781/0.018, allocations: 253.1 kB / 0.8247 GB, free: 3.859 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.018, allocations: 4 kB / 0.8247 GB, free: 3.855 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001669/0.01817, allocations: 51.94 kB / 0.8247 GB, free: 3.805 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.01817, allocations: 0 / 0.8247 GB, free: 3.805 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.424e-05/0.0182, allocations: 15.92 kB / 0.8247 GB, free: 3.789 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.0182, allocations: 0 / 0.8247 GB, free: 3.789 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.0182, allocations: 3.938 kB / 0.8247 GB, free: 3.785 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003236/0.01853, allocations: 216 kB / 0.8249 GB, free: 3.551 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/0.01864, allocations: 79.64 kB / 0.825 GB, free: 3.473 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.792e-05/0.01868, allocations: 15.94 kB / 0.825 GB, free: 3.457 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/0.01882, allocations: 23.97 kB / 0.8251 GB, free: 3.434 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.119e-05/0.01888, allocations: 19.97 kB / 0.8251 GB, free: 3.414 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.955e-05/0.0189, allocations: 7.984 kB / 0.8251 GB, free: 3.406 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001639/0.01907, allocations: 271 kB / 0.8253 GB, free: 3.148 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2e-07/0.01907, allocations: 0 / 0.8253 GB, free: 3.148 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003024/0.01937, allocations: 83.92 kB / 0.8254 GB, free: 3.066 MB / 0.7292 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.0002512/0.01962, allocations: 147 kB / 0.8256 GB, free: 2.91 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00035/0.01997, allocations: 247.5 kB / 0.8258 GB, free: 2.648 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.01997, allocations: 4 kB / 0.8258 GB, free: 2.645 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001176/0.02009, allocations: 75.56 kB / 0.8259 GB, free: 2.566 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003334/0.02042, allocations: 105.3 kB / 0.826 GB, free: 2.461 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/0.02159, allocations: 0.5455 MB / 0.8265 GB, free: 1.887 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.879e-05/0.02167, allocations: 112.3 kB / 0.8266 GB, free: 1.758 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002029/0.02188, allocations: 66.28 kB / 0.8267 GB, free: 1.695 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002638/0.02214, allocations: 170.1 kB / 0.8268 GB, free: 1.527 MB / 0.7292 GB Notification: Performance of SimCode: time 8.91e-07/0.02214, allocations: 4 kB / 0.8268 GB, free: 1.523 MB / 0.7292 GB Notification: Performance of Templates: time 0.01083/0.03297, allocations: 8.641 MB / 0.8353 GB, free: 9.02 MB / 0.7448 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.263852724339813]