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.0009774/0.0009774, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001139/0.001139, allocations: 161 kB / 23.82 MB, free: 0.75 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.9316/0.9316, 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.797/1.797, allocations: 377.8 MB / 0.6236 GB, free: 8.562 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.352e-06/1.352e-06, allocations: 0 / 0.8115 GB, free: 1.77 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.005e-05/2.14e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.766 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.002504/0.002526, allocations: 2.189 MB / 0.8137 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002218/0.004743, allocations: 1.863 MB / 0.8155 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001136/0.004857, allocations: 0.5312 kB / 0.8155 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0005978/0.005455, allocations: 203.5 kB / 0.8157 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001178/0.005573, allocations: 65.55 kB / 0.8157 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008084/0.006381, allocations: 421.9 kB / 0.8161 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003795/0.006761, allocations: 416 kB / 0.8165 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.511e-05/0.006846, allocations: 20.58 kB / 0.8166 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001786/0.007024, allocations: 211.6 kB / 0.8168 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001535/0.007178, allocations: 133.5 kB / 0.8169 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.154e-05/0.007219, allocations: 28 kB / 0.8169 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003783/0.007598, allocations: 263.5 kB / 0.8172 GB, free: 12 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.007703, allocations: 123.6 kB / 0.8173 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 8.885e-05/0.007792, allocations: 104.6 kB / 0.8174 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004367/0.008228, allocations: 442.7 kB / 0.8178 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.008231, allocations: 2.219 kB / 0.8178 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.62e-07/0.008232, allocations: 0 / 0.8178 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.008237, allocations: 3.938 kB / 0.8178 GB, free: 11.34 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.0007256/0.008962, allocations: 0.7421 MB / 0.8185 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.042e-05/0.008993, allocations: 14.81 kB / 0.8185 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007592/0.009752, allocations: 151 kB / 0.8187 GB, free: 10.4 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002767/0.01003, allocations: 286.8 kB / 0.819 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.732e-05/0.01012, allocations: 132.8 kB / 0.8191 GB, free: 9.941 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.021e-05/0.01015, allocations: 8.375 kB / 0.8191 GB, free: 9.934 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003441/0.01049, allocations: 193.7 kB / 0.8193 GB, free: 9.738 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.0105, allocations: 7.875 kB / 0.8193 GB, free: 9.734 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.171e-05/0.01052, allocations: 4.125 kB / 0.8193 GB, free: 9.73 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.01053, allocations: 3.984 kB / 0.8193 GB, free: 9.727 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001805/0.01071, allocations: 95.86 kB / 0.8194 GB, free: 9.633 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008304/0.01154, allocations: 0.6531 MB / 0.82 GB, free: 8.945 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001513/0.01305, allocations: 419 kB / 0.8204 GB, free: 8.539 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.01316, allocations: 59.91 kB / 0.8205 GB, free: 8.477 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.716e-05/0.01317, allocations: 8 kB / 0.8205 GB, free: 8.469 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002106/0.01338, allocations: 156.9 kB / 0.8206 GB, free: 8.301 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 1.753e-06/0.01338, allocations: 0 / 0.8206 GB, free: 8.301 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16): time 0.0004287/0.01381, allocations: 247.5 kB / 0.8209 GB, free: 8.055 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.079e-05/0.01384, allocations: 51.41 kB / 0.8209 GB, free: 7.992 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003083/0.01415, allocations: 462.7 kB / 0.8214 GB, free: 7.527 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.544e-05/0.01419, allocations: 33.7 kB / 0.8214 GB, free: 7.488 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.0143, allocations: 238.6 kB / 0.8216 GB, free: 7.25 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.541e-05/0.01435, allocations: 59.52 kB / 0.8217 GB, free: 7.191 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.584e-05/0.01443, allocations: 59.33 kB / 0.8217 GB, free: 7.125 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.01458, allocations: 0.543 MB / 0.8223 GB, free: 6.57 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001703/0.01475, allocations: 137.6 kB / 0.8224 GB, free: 6.43 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001412/0.01489, allocations: 141.7 kB / 0.8225 GB, free: 6.285 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002203/0.01511, allocations: 180 kB / 0.8227 GB, free: 6.102 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.01511, allocations: 3.938 kB / 0.8227 GB, free: 6.098 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004639/0.01557, allocations: 476.5 kB / 0.8232 GB, free: 5.613 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.909e-05/0.0156, allocations: 41.69 kB / 0.8232 GB, free: 5.566 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.646e-06/0.01561, allocations: 0 / 0.8232 GB, free: 5.566 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.245e-06/0.01562, allocations: 4 kB / 0.8232 GB, free: 5.562 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001698/0.01579, allocations: 43.95 kB / 0.8233 GB, free: 5.52 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.01579, allocations: 3.984 kB / 0.8233 GB, free: 5.516 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001196/0.01591, allocations: 31.88 kB / 0.8233 GB, free: 5.484 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.997e-05/0.01594, allocations: 15.97 kB / 0.8233 GB, free: 5.469 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.0001068/0.01605, allocations: 172.5 kB / 0.8235 GB, free: 5.289 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.111e-05/0.0161, allocations: 47.77 kB / 0.8235 GB, free: 5.242 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.553e-05/0.01613, allocations: 35.41 kB / 0.8235 GB, free: 5.207 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.01613, allocations: 0 / 0.8235 GB, free: 5.207 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.01614, allocations: 3.938 kB / 0.8236 GB, free: 5.203 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.01614, allocations: 7.984 kB / 0.8236 GB, free: 5.195 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003452/0.01649, allocations: 328.3 kB / 0.8239 GB, free: 4.84 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.01649, allocations: 3.938 kB / 0.8239 GB, free: 4.836 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001447/0.01664, allocations: 47.94 kB / 0.8239 GB, free: 4.789 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.01664, allocations: 0 / 0.8239 GB, free: 4.789 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.999e-05/0.01666, allocations: 11.98 kB / 0.8239 GB, free: 4.777 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.01666, allocations: 0 / 0.8239 GB, free: 4.777 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-07/0.01666, allocations: 0 / 0.8239 GB, free: 4.777 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00031/0.01697, allocations: 232.1 kB / 0.8242 GB, free: 4.527 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.01707, allocations: 95.56 kB / 0.8242 GB, free: 4.434 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.246e-05/0.01711, allocations: 0 / 0.8242 GB, free: 4.434 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/0.01724, allocations: 27.97 kB / 0.8243 GB, free: 4.406 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.851e-05/0.0173, allocations: 15.97 kB / 0.8243 GB, free: 4.391 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.07e-05/0.01732, allocations: 15.98 kB / 0.8243 GB, free: 4.375 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001711/0.01749, allocations: 283.1 kB / 0.8246 GB, free: 4.102 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01749, allocations: 4 kB / 0.8246 GB, free: 4.098 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002273/0.01772, allocations: 83.92 kB / 0.8247 GB, free: 4.016 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.0001762/0.0179, allocations: 139.1 kB / 0.8248 GB, free: 3.871 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003695/0.01826, allocations: 295.5 kB / 0.8251 GB, free: 3.562 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01827, allocations: 4 kB / 0.8251 GB, free: 3.559 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001228/0.01839, allocations: 85.67 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.0002786/0.01867, allocations: 107.6 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.0009733/0.01964, allocations: 0.5418 MB / 0.8258 GB, free: 2.793 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.511e-05/0.01971, allocations: 116.3 kB / 0.8259 GB, free: 2.66 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0002039/0.01991, allocations: 82.25 kB / 0.826 GB, free: 2.578 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.02001, allocations: 44.41 kB / 0.826 GB, free: 2.531 MB / 0.7761 GB Notification: Performance of SimCode: time 5.71e-07/0.02001, allocations: 0 / 0.826 GB, free: 2.531 MB / 0.7761 GB Notification: Performance of Templates: time 0.009604/0.02962, allocations: 8.376 MB / 0.8342 GB, free: 10.28 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: 4.9058487373404205]