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.0009784/0.0009784, allocations: 82.64 kB / 20.68 MB, free: 3.812 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.00093/0.00093, allocations: 185 kB / 24.09 MB, free: 412 kB / 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.937/0.937, allocations: 177.1 MB / 204.5 MB, free: 5.484 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.793/1.793, allocations: 377.9 MB / 0.624 GB, free: 8.418 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.914e-06/1.914e-06, allocations: 0 / 0.812 GB, free: 1.457 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.028e-05/3.219e-05, allocations: 2.312 kB / 0.812 GB, free: 1.453 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.002908/0.00294, allocations: 2.173 MB / 0.8141 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002126/0.005066, allocations: 1.825 MB / 0.8159 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001127/0.005179, allocations: 0 / 0.8159 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0005357/0.005714, allocations: 212.1 kB / 0.8161 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001164/0.005831, allocations: 68.83 kB / 0.8162 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000785/0.006616, allocations: 422 kB / 0.8166 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0004069/0.007023, allocations: 423.3 kB / 0.817 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.27e-05/0.007115, allocations: 25.09 kB / 0.817 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002063/0.007322, allocations: 203.6 kB / 0.8172 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000161/0.007483, allocations: 137 kB / 0.8173 GB, free: 12 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.676e-05/0.007529, allocations: 28 kB / 0.8173 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003408/0.00787, allocations: 255.5 kB / 0.8176 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001213/0.007992, allocations: 124.8 kB / 0.8177 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 9.841e-05/0.00809, allocations: 107.8 kB / 0.8178 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004845/0.008574, allocations: 454.6 kB / 0.8182 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.008578, allocations: 0.9062 kB / 0.8182 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.272e-06/0.008579, allocations: 0 / 0.8182 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.451e-06/0.008584, allocations: 0 / 0.8182 GB, free: 11.05 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.0009439/0.009528, allocations: 0.736 MB / 0.819 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.009565, allocations: 12.03 kB / 0.819 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007615/0.01033, allocations: 161 kB / 0.8191 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002706/0.0106, allocations: 272 kB / 0.8194 GB, free: 9.824 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.895e-05/0.01069, allocations: 127.3 kB / 0.8195 GB, free: 9.676 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.964e-05/0.01072, allocations: 12.38 kB / 0.8195 GB, free: 9.664 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003354/0.01105, allocations: 184.8 kB / 0.8197 GB, free: 9.48 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.01106, allocations: 6.062 kB / 0.8197 GB, free: 9.477 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.239e-05/0.01108, allocations: 8.109 kB / 0.8197 GB, free: 9.469 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.01109, allocations: 4 kB / 0.8197 GB, free: 9.465 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001309/0.01122, allocations: 69.03 kB / 0.8198 GB, free: 9.398 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007823/0.012, allocations: 0.577 MB / 0.8203 GB, free: 8.797 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001389/0.01339, allocations: 405.8 kB / 0.8207 GB, free: 8.406 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.383e-05/0.01347, allocations: 47.66 kB / 0.8208 GB, free: 8.355 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.338e-05/0.0135, allocations: 7.938 kB / 0.8208 GB, free: 8.348 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002241/0.01372, allocations: 159.4 kB / 0.8209 GB, free: 8.18 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 1.613e-06/0.01372, allocations: 0 / 0.8209 GB, free: 8.18 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16): time 0.0003917/0.01412, allocations: 209.4 kB / 0.8211 GB, free: 7.969 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.939e-05/0.01415, allocations: 63.33 kB / 0.8212 GB, free: 7.895 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002875/0.01444, allocations: 450.5 kB / 0.8216 GB, free: 7.438 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.703e-05/0.01448, allocations: 37.69 kB / 0.8217 GB, free: 7.395 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001328/0.01461, allocations: 242.5 kB / 0.8219 GB, free: 7.152 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.785e-05/0.01466, allocations: 55.58 kB / 0.8219 GB, free: 7.098 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.878e-05/0.01475, allocations: 63.25 kB / 0.822 GB, free: 7.027 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.01491, allocations: 0.543 MB / 0.8225 GB, free: 6.473 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000135/0.01505, allocations: 105.6 kB / 0.8226 GB, free: 6.363 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/0.01515, allocations: 109.7 kB / 0.8227 GB, free: 6.25 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001724/0.01533, allocations: 146.7 kB / 0.8229 GB, free: 6.098 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.01533, allocations: 0 / 0.8229 GB, free: 6.098 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004161/0.01574, allocations: 417.1 kB / 0.8233 GB, free: 5.672 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.018e-05/0.01578, allocations: 47.88 kB / 0.8233 GB, free: 5.621 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.01579, allocations: 0 / 0.8233 GB, free: 5.621 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.0158, allocations: 0 / 0.8233 GB, free: 5.621 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000179/0.01598, allocations: 51.88 kB / 0.8234 GB, free: 5.57 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.166e-06/0.01598, allocations: 4 kB / 0.8234 GB, free: 5.566 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001215/0.01611, allocations: 27.94 kB / 0.8234 GB, free: 5.539 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.695e-05/0.01613, allocations: 11.98 kB / 0.8234 GB, free: 5.527 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.0001227/0.01626, allocations: 164.6 kB / 0.8236 GB, free: 5.355 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.221e-05/0.01631, allocations: 47.7 kB / 0.8236 GB, free: 5.309 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.4e-05/0.01635, allocations: 31.41 kB / 0.8236 GB, free: 5.277 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.01636, allocations: 4 kB / 0.8237 GB, free: 5.273 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.01636, allocations: 7.938 kB / 0.8237 GB, free: 5.266 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.01636, allocations: 0 / 0.8237 GB, free: 5.266 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002537/0.01662, allocations: 264.8 kB / 0.8239 GB, free: 4.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.01662, allocations: 0 / 0.8239 GB, free: 4.98 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001519/0.01677, allocations: 51.94 kB / 0.824 GB, free: 4.93 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.01677, allocations: 0 / 0.824 GB, free: 4.93 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.904e-05/0.01679, allocations: 15.92 kB / 0.824 GB, free: 4.914 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.01679, allocations: 0 / 0.824 GB, free: 4.914 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01679, allocations: 0 / 0.824 GB, free: 4.914 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002856/0.01708, allocations: 218.3 kB / 0.8242 GB, free: 4.68 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/0.01719, allocations: 83.64 kB / 0.8243 GB, free: 4.598 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.203e-05/0.01722, allocations: 7.938 kB / 0.8243 GB, free: 4.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001332/0.01735, allocations: 27.97 kB / 0.8243 GB, free: 4.562 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.249e-05/0.01742, allocations: 19.97 kB / 0.8243 GB, free: 4.543 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.336e-05/0.01744, allocations: 7.984 kB / 0.8243 GB, free: 4.535 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001942/0.01763, allocations: 271 kB / 0.8246 GB, free: 4.277 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.01763, allocations: 0 / 0.8246 GB, free: 4.277 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003451/0.01798, allocations: 83.92 kB / 0.8247 GB, free: 4.195 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.0002182/0.0182, allocations: 143.1 kB / 0.8248 GB, free: 4.047 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003836/0.01858, allocations: 260.6 kB / 0.825 GB, free: 3.77 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.01858, allocations: 0 / 0.825 GB, free: 3.77 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001311/0.01871, allocations: 71.58 kB / 0.8251 GB, free: 3.695 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003729/0.01909, allocations: 101.3 kB / 0.8252 GB, free: 3.594 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00131/0.0204, allocations: 0.5456 MB / 0.8257 GB, free: 3.016 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.746e-05/0.02047, allocations: 116.3 kB / 0.8259 GB, free: 2.883 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0002424/0.02072, allocations: 70.27 kB / 0.8259 GB, free: 2.812 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002962/0.02101, allocations: 166.1 kB / 0.8261 GB, free: 2.648 MB / 0.7761 GB Notification: Performance of SimCode: time 9.52e-07/0.02101, allocations: 0 / 0.8261 GB, free: 2.648 MB / 0.7761 GB Notification: Performance of Templates: time 0.0128/0.03381, allocations: 8.495 MB / 0.8344 GB, free: 10.32 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","",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.095456894952804]