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.0009903/0.0009903, allocations: 87.58 kB / 20.45 MB, free: 4.113 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.0009792/0.0009792, allocations: 165 kB / 23.82 MB, free: 0.7461 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.9652/0.9652, allocations: 177.1 MB / 204.2 MB, free: 5.625 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.9/1.9, allocations: 377.8 MB / 0.6236 GB, free: 8.574 MB / 0.5886 GB " [Timeout remaining time 177] 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.523e-06/1.523e-06, allocations: 0 / 0.8115 GB, free: 1.766 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.68e-05/2.832e-05, allocations: 8.156 kB / 0.8115 GB, free: 1.758 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.002757/0.002785, allocations: 2.191 MB / 0.8137 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002081/0.004866, allocations: 1.855 MB / 0.8155 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.499e-05/0.004961, allocations: 4 kB / 0.8155 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.000569/0.00553, allocations: 204.6 kB / 0.8157 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.000102/0.005632, allocations: 72.7 kB / 0.8157 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007524/0.006384, allocations: 417.5 kB / 0.8161 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003778/0.006762, allocations: 420.6 kB / 0.8165 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.438e-05/0.006857, allocations: 16.59 kB / 0.8166 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001851/0.007042, allocations: 207.6 kB / 0.8168 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001642/0.007206, allocations: 135.7 kB / 0.8169 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.288e-05/0.007249, allocations: 24.53 kB / 0.8169 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003165/0.007565, allocations: 263.5 kB / 0.8172 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001182/0.007683, allocations: 120.4 kB / 0.8173 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 9.959e-05/0.007783, allocations: 107.7 kB / 0.8174 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004617/0.008245, allocations: 456 kB / 0.8178 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.008248, allocations: 0 / 0.8178 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.152e-06/0.008249, allocations: 0 / 0.8178 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.008254, allocations: 0.625 kB / 0.8178 GB, free: 11.32 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.0008246/0.009079, allocations: 0.7355 MB / 0.8185 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.009121, allocations: 8.781 kB / 0.8185 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000811/0.009932, allocations: 161.2 kB / 0.8187 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003264/0.01026, allocations: 286.9 kB / 0.819 GB, free: 10.08 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.695e-05/0.01036, allocations: 127.3 kB / 0.8191 GB, free: 9.934 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.469e-05/0.01039, allocations: 14.69 kB / 0.8191 GB, free: 9.922 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003778/0.01077, allocations: 188.8 kB / 0.8193 GB, free: 9.734 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.01077, allocations: 192 / 0.8193 GB, free: 9.734 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.767e-05/0.0108, allocations: 12.11 kB / 0.8193 GB, free: 9.723 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.01081, allocations: 7.938 kB / 0.8193 GB, free: 9.715 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002059/0.01102, allocations: 80.66 kB / 0.8194 GB, free: 9.637 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001321/0.01234, allocations: 0.6662 MB / 0.82 GB, free: 8.938 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001593/0.01393, allocations: 415.9 kB / 0.8204 GB, free: 8.539 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001267/0.01406, allocations: 59.91 kB / 0.8205 GB, free: 8.477 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.599e-05/0.01408, allocations: 4 kB / 0.8205 GB, free: 8.473 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002597/0.01434, allocations: 172.8 kB / 0.8207 GB, free: 8.289 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 2.625e-06/0.01435, allocations: 0 / 0.8207 GB, free: 8.289 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16): time 0.0005169/0.01486, allocations: 226.8 kB / 0.8209 GB, free: 8.062 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.971e-05/0.01491, allocations: 63.34 kB / 0.8209 GB, free: 7.988 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003457/0.01526, allocations: 458.7 kB / 0.8214 GB, free: 7.527 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.77e-05/0.0153, allocations: 33.69 kB / 0.8214 GB, free: 7.488 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001337/0.01543, allocations: 246.6 kB / 0.8216 GB, free: 7.242 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.011e-05/0.01548, allocations: 51.58 kB / 0.8217 GB, free: 7.191 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.954e-05/0.01557, allocations: 63.33 kB / 0.8217 GB, free: 7.121 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.01571, allocations: 0.5352 MB / 0.8223 GB, free: 6.574 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001814/0.01589, allocations: 137.6 kB / 0.8224 GB, free: 6.434 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001528/0.01604, allocations: 145.6 kB / 0.8225 GB, free: 6.285 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00023/0.01627, allocations: 186.7 kB / 0.8227 GB, free: 6.094 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.01627, allocations: 3.938 kB / 0.8227 GB, free: 6.09 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004988/0.01677, allocations: 464.6 kB / 0.8232 GB, free: 5.617 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.981e-05/0.01681, allocations: 46.31 kB / 0.8232 GB, free: 5.566 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.01682, allocations: 3.938 kB / 0.8232 GB, free: 5.562 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.01683, allocations: 0 / 0.8232 GB, free: 5.562 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001945/0.01703, allocations: 55.88 kB / 0.8233 GB, free: 5.508 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.01703, allocations: 0 / 0.8233 GB, free: 5.508 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001233/0.01716, allocations: 23.94 kB / 0.8233 GB, free: 5.484 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.313e-05/0.01719, allocations: 23.98 kB / 0.8233 GB, free: 5.461 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.0001246/0.01731, allocations: 170.9 kB / 0.8235 GB, free: 5.285 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.236e-05/0.01737, allocations: 43.77 kB / 0.8235 GB, free: 5.242 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.252e-05/0.01741, allocations: 31.41 kB / 0.8235 GB, free: 5.211 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.01741, allocations: 4 kB / 0.8235 GB, free: 5.207 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.01742, allocations: 0 / 0.8235 GB, free: 5.207 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.01742, allocations: 0 / 0.8235 GB, free: 5.207 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002836/0.0177, allocations: 336.2 kB / 0.8239 GB, free: 4.844 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.0177, allocations: 3.938 kB / 0.8239 GB, free: 4.84 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001606/0.01787, allocations: 51.89 kB / 0.8239 GB, free: 4.789 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.01787, allocations: 4 kB / 0.8239 GB, free: 4.785 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.78e-05/0.01789, allocations: 3.984 kB / 0.8239 GB, free: 4.781 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.01789, allocations: 4 kB / 0.8239 GB, free: 4.777 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.01789, allocations: 0 / 0.8239 GB, free: 4.777 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003341/0.01822, allocations: 224.2 kB / 0.8241 GB, free: 4.535 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001254/0.01835, allocations: 95.56 kB / 0.8242 GB, free: 4.441 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.435e-05/0.01838, allocations: 8 kB / 0.8242 GB, free: 4.434 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/0.01853, allocations: 31.91 kB / 0.8243 GB, free: 4.402 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.45e-05/0.01859, allocations: 15.97 kB / 0.8243 GB, free: 4.387 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-05/0.01861, allocations: 7.984 kB / 0.8243 GB, free: 4.379 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001908/0.0188, allocations: 287.1 kB / 0.8246 GB, free: 4.102 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.0188, allocations: 0 / 0.8246 GB, free: 4.102 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002604/0.01906, allocations: 79.94 kB / 0.8246 GB, free: 4.023 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.0002044/0.01926, allocations: 146 kB / 0.8248 GB, free: 3.875 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004059/0.01967, allocations: 302.9 kB / 0.8251 GB, free: 3.559 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.01967, allocations: 0 / 0.8251 GB, free: 3.559 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001352/0.01981, allocations: 83.58 kB / 0.8252 GB, free: 3.473 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003067/0.02011, allocations: 105.3 kB / 0.8253 GB, free: 3.367 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001115/0.02123, allocations: 0.5457 MB / 0.8258 GB, free: 2.789 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.359e-05/0.0213, allocations: 116.3 kB / 0.8259 GB, free: 2.656 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001978/0.0215, allocations: 78.27 kB / 0.826 GB, free: 2.578 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.0216, allocations: 40.47 kB / 0.826 GB, free: 2.535 MB / 0.7761 GB Notification: Performance of SimCode: time 6.41e-07/0.0216, allocations: 0 / 0.826 GB, free: 2.535 MB / 0.7761 GB Notification: Performance of Templates: time 0.009779/0.03138, allocations: 7.742 MB / 0.8336 GB, free: 10.91 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.3844344122335315]