Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.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.001028/0.001028, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.00126/0.00126, allocations: 169 kB / 24.28 MB, free: 280 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.9454/0.9454, allocations: 177.2 MB / 204.6 MB, free: 5.582 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.953/1.953, allocations: 377.8 MB / 0.6239 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.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled,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.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled,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.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 0.8116 GB, free: 2.02 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.245e-05/3.421e-05, allocations: 2.312 kB / 0.8116 GB, free: 2.016 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.00484/0.004874, allocations: 2.909 MB / 0.8144 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.003458/0.008332, allocations: 2.218 MB / 0.8166 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001832/0.008516, allocations: 4.875 kB / 0.8166 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0008608/0.009376, allocations: 243.3 kB / 0.8168 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001974/0.009574, allocations: 82.23 kB / 0.8169 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001197/0.01077, allocations: 486.1 kB / 0.8173 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0006866/0.01146, allocations: 0.5194 MB / 0.8179 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.01159, allocations: 32.86 kB / 0.8179 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000392/0.01199, allocations: 259.6 kB / 0.8181 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003067/0.01229, allocations: 187.6 kB / 0.8183 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 8.737e-05/0.01238, allocations: 36.5 kB / 0.8183 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005151/0.01289, allocations: 277.4 kB / 0.8186 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001931/0.01309, allocations: 159.6 kB / 0.8188 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001986/0.01329, allocations: 143.6 kB / 0.8189 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0008603/0.01415, allocations: 0.5258 MB / 0.8194 GB, free: 9.984 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/0.01415, allocations: 4 kB / 0.8194 GB, free: 9.98 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.963e-06/0.01416, allocations: 0 / 0.8194 GB, free: 9.98 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.248e-05/0.01417, allocations: 5.375 kB / 0.8194 GB, free: 9.977 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001455/0.01562, allocations: 0.8731 MB / 0.8203 GB, free: 9.055 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.01567, allocations: 8.031 kB / 0.8203 GB, free: 9.047 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001763/0.01743, allocations: 215.6 kB / 0.8205 GB, free: 8.844 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005871/0.01802, allocations: 335.7 kB / 0.8208 GB, free: 8.492 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001408/0.01816, allocations: 139.3 kB / 0.8209 GB, free: 8.332 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.662e-05/0.01822, allocations: 8.375 kB / 0.8209 GB, free: 8.324 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007256/0.01894, allocations: 240.1 kB / 0.8212 GB, free: 8.086 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.01895, allocations: 192 / 0.8212 GB, free: 8.086 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.332e-05/0.019, allocations: 12.12 kB / 0.8212 GB, free: 8.074 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.01901, allocations: 1.219 kB / 0.8212 GB, free: 8.074 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004258/0.01943, allocations: 117.4 kB / 0.8213 GB, free: 7.961 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00172/0.02115, allocations: 0.8146 MB / 0.8221 GB, free: 7.113 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002336/0.02349, allocations: 471.7 kB / 0.8225 GB, free: 6.656 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001717/0.02366, allocations: 71.66 kB / 0.8226 GB, free: 6.582 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/0.02368, allocations: 4 kB / 0.8226 GB, free: 6.578 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003225/0.02401, allocations: 194.3 kB / 0.8228 GB, free: 6.375 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=21): time 3.486e-06/0.02401, allocations: 0 / 0.8228 GB, free: 6.375 MB / 0.7761 GB Notification: Performance of matching and sorting (n=21): time 0.0006404/0.02465, allocations: 304.2 kB / 0.8231 GB, free: 6.074 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.02469, allocations: 59.34 kB / 0.8232 GB, free: 6.004 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000424/0.02512, allocations: 0.5339 MB / 0.8237 GB, free: 5.453 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.726e-05/0.02516, allocations: 33.7 kB / 0.8237 GB, free: 5.414 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001622/0.02532, allocations: 283.2 kB / 0.824 GB, free: 5.133 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.881e-05/0.02538, allocations: 67.44 kB / 0.824 GB, free: 5.066 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.02549, allocations: 71.31 kB / 0.8241 GB, free: 4.988 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000165/0.02566, allocations: 0.5587 MB / 0.8247 GB, free: 4.418 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002271/0.02588, allocations: 149.5 kB / 0.8248 GB, free: 4.266 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002374/0.02612, allocations: 238.6 kB / 0.825 GB, free: 4.012 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002908/0.02641, allocations: 212.1 kB / 0.8252 GB, free: 3.797 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.02641, allocations: 0 / 0.8252 GB, free: 3.797 MB / 0.7761 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006194/0.02703, allocations: 0.5043 MB / 0.8257 GB, free: 3.273 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.122e-05/0.02707, allocations: 45.69 kB / 0.8258 GB, free: 3.223 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.02708, allocations: 0 / 0.8258 GB, free: 3.223 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.02709, allocations: 0 / 0.8258 GB, free: 3.223 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002426/0.02734, allocations: 63.88 kB / 0.8258 GB, free: 3.16 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.02734, allocations: 3.984 kB / 0.8258 GB, free: 3.156 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001748/0.02752, allocations: 51.8 kB / 0.8259 GB, free: 3.105 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.626e-05/0.02755, allocations: 15.98 kB / 0.8259 GB, free: 3.09 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 (22): * Single equations (assignments): 21 * 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.0001466/0.0277, allocations: 164.6 kB / 0.826 GB, free: 2.918 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.11e-05/0.02777, allocations: 59.66 kB / 0.8261 GB, free: 2.859 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.936e-05/0.02782, allocations: 40.02 kB / 0.8261 GB, free: 2.82 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.02782, allocations: 7.984 kB / 0.8262 GB, free: 2.812 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.02783, allocations: 4 kB / 0.8262 GB, free: 2.809 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.02783, allocations: 3.984 kB / 0.8262 GB, free: 2.805 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000354/0.02819, allocations: 411.8 kB / 0.8266 GB, free: 2.367 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.02819, allocations: 4 kB / 0.8266 GB, free: 2.363 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002011/0.02839, allocations: 59.94 kB / 0.8266 GB, free: 2.305 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.0284, allocations: 0 / 0.8266 GB, free: 2.305 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.471e-05/0.02842, allocations: 19.97 kB / 0.8266 GB, free: 2.285 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.02842, allocations: 0 / 0.8266 GB, free: 2.285 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.02842, allocations: 0 / 0.8266 GB, free: 2.285 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004297/0.02885, allocations: 286.1 kB / 0.8269 GB, free: 1.984 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001402/0.02899, allocations: 99.64 kB / 0.827 GB, free: 1.887 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.568e-05/0.02904, allocations: 8 kB / 0.827 GB, free: 1.879 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001784/0.02922, allocations: 39.95 kB / 0.827 GB, free: 1.84 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.987e-05/0.0293, allocations: 23.95 kB / 0.8271 GB, free: 1.816 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.331e-05/0.02932, allocations: 15.98 kB / 0.8271 GB, free: 1.801 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002331/0.02955, allocations: 335 kB / 0.8274 GB, free: 1.473 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.02955, allocations: 0 / 0.8274 GB, free: 1.473 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002984/0.02985, allocations: 95.94 kB / 0.8275 GB, free: 1.379 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 (21): * Single equations (assignments): 19 * 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.000219/0.03007, allocations: 141.8 kB / 0.8276 GB, free: 1.234 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004775/0.03055, allocations: 332.6 kB / 0.8279 GB, free: 0.8867 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.03055, allocations: 0 / 0.8279 GB, free: 0.8867 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001743/0.03072, allocations: 109 kB / 0.8281 GB, free: 0.7773 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003474/0.03107, allocations: 125.7 kB / 0.8282 GB, free: 0.6523 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001325/0.0324, allocations: 0.6995 MB / 0.8289 GB, free: 15.92 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.097e-05/0.03248, allocations: 133.1 kB / 0.829 GB, free: 15.77 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.000276/0.03275, allocations: 114.9 kB / 0.8291 GB, free: 15.66 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/0.03288, allocations: 48.41 kB / 0.8291 GB, free: 15.61 MB / 0.7917 GB Notification: Performance of SimCode: time 1.002e-06/0.03288, allocations: 0 / 0.8291 GB, free: 15.61 MB / 0.7917 GB Notification: Performance of Templates: time 0.01164/0.04451, allocations: 9.51 MB / 0.8384 GB, free: 6.246 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & ./Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled.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.301358669996262]