Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009653/0.0009653, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001552/0.001552, allocations: 173 kB / 23.36 MB, free: 1.133 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.9341/0.9341, allocations: 177.1 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.27/2.27, allocations: 438.8 MB / 0.6826 GB, free: 13.62 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.028e-05/1.143e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.002844/0.002855, allocations: 2.876 MB / 0.8414 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.002338/0.005193, allocations: 2.225 MB / 0.8436 GB, free: 9.074 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.0053, allocations: 4 kB / 0.8436 GB, free: 9.07 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0005573/0.005857, allocations: 242.5 kB / 0.8438 GB, free: 8.832 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001121/0.005969, allocations: 79.22 kB / 0.8439 GB, free: 8.754 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007943/0.006764, allocations: 0.4909 MB / 0.8444 GB, free: 8.262 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0004271/0.007191, allocations: 0.5296 MB / 0.8449 GB, free: 7.73 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 8.061e-05/0.007271, allocations: 26.89 kB / 0.8449 GB, free: 7.707 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002243/0.007496, allocations: 263.6 kB / 0.8452 GB, free: 7.449 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001719/0.007667, allocations: 179.6 kB / 0.8454 GB, free: 7.273 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 4.434e-05/0.007712, allocations: 36 kB / 0.8454 GB, free: 7.238 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003084/0.00802, allocations: 271.5 kB / 0.8456 GB, free: 6.973 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001208/0.008141, allocations: 171.5 kB / 0.8458 GB, free: 6.805 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.008242, allocations: 135.7 kB / 0.8459 GB, free: 6.672 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0007137/0.008956, allocations: 0.5374 MB / 0.8465 GB, free: 6.133 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.008959, allocations: 3.984 kB / 0.8465 GB, free: 6.129 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.61e-07/0.00896, allocations: 0 / 0.8465 GB, free: 6.129 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.008964, allocations: 0 / 0.8465 GB, free: 6.129 MB / 0.8073 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.000714/0.009678, allocations: 0.7043 MB / 0.8472 GB, free: 5.387 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.984e-05/0.009708, allocations: 8.625 kB / 0.8472 GB, free: 5.379 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009582/0.01067, allocations: 236.6 kB / 0.8474 GB, free: 5.148 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002792/0.01095, allocations: 279.8 kB / 0.8477 GB, free: 4.848 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.485e-05/0.01104, allocations: 135.3 kB / 0.8478 GB, free: 4.691 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.046e-05/0.01108, allocations: 20.36 kB / 0.8478 GB, free: 4.672 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003643/0.01145, allocations: 233.5 kB / 0.848 GB, free: 4.434 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.01145, allocations: 192 / 0.848 GB, free: 4.434 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.906e-05/0.01148, allocations: 12.12 kB / 0.848 GB, free: 4.422 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.01149, allocations: 0 / 0.848 GB, free: 4.422 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001664/0.01165, allocations: 75.94 kB / 0.8481 GB, free: 4.348 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008661/0.01252, allocations: 0.513 MB / 0.8486 GB, free: 3.816 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001286/0.0138, allocations: 495.8 kB / 0.8491 GB, free: 3.32 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/0.01391, allocations: 56.77 kB / 0.8491 GB, free: 3.262 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.01393, allocations: 4 kB / 0.8491 GB, free: 3.258 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002168/0.01414, allocations: 179 kB / 0.8493 GB, free: 3.07 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=21): time 1.293e-06/0.01415, allocations: 0 / 0.8493 GB, free: 3.07 MB / 0.8073 GB Notification: Performance of matching and sorting (n=21): time 0.0003651/0.01451, allocations: 207.6 kB / 0.8495 GB, free: 2.863 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.192e-05/0.01454, allocations: 59.39 kB / 0.8496 GB, free: 2.793 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00021/0.01475, allocations: 363.3 kB / 0.8499 GB, free: 2.426 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 4.306e-05/0.0148, allocations: 37.64 kB / 0.85 GB, free: 2.383 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.424e-05/0.01486, allocations: 138.1 kB / 0.8501 GB, free: 2.246 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.873e-05/0.01492, allocations: 75.42 kB / 0.8502 GB, free: 2.172 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.01502, allocations: 61.61 kB / 0.8502 GB, free: 2.105 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.546e-05/0.01511, allocations: 358.7 kB / 0.8506 GB, free: 1.746 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001394/0.01524, allocations: 108.5 kB / 0.8507 GB, free: 1.633 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001569/0.0154, allocations: 180.9 kB / 0.8508 GB, free: 1.441 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002079/0.01561, allocations: 180.1 kB / 0.851 GB, free: 1.254 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.01561, allocations: 0 / 0.851 GB, free: 1.254 MB / 0.8073 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003294/0.01594, allocations: 303.5 kB / 0.8513 GB, free: 0.9375 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.145e-05/0.01597, allocations: 37.69 kB / 0.8513 GB, free: 0.8945 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.01598, allocations: 11.94 kB / 0.8513 GB, free: 0.8828 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.057e-06/0.01599, allocations: 0 / 0.8513 GB, free: 0.8828 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002215/0.01621, allocations: 63.92 kB / 0.8514 GB, free: 0.8203 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.836e-06/0.01621, allocations: 0 / 0.8514 GB, free: 0.8203 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001641/0.01637, allocations: 47.86 kB / 0.8514 GB, free: 0.7734 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.062e-05/0.0164, allocations: 11.97 kB / 0.8515 GB, free: 0.7617 MB / 0.8073 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.0001161/0.01652, allocations: 128.6 kB / 0.8516 GB, free: 0.625 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.037e-05/0.01657, allocations: 35.89 kB / 0.8516 GB, free: 0.5898 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.08e-05/0.01661, allocations: 44.02 kB / 0.8517 GB, free: 0.5508 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.01661, allocations: 0 / 0.8517 GB, free: 0.5508 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.963e-06/0.01662, allocations: 0 / 0.8517 GB, free: 0.5508 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/0.01662, allocations: 8 kB / 0.8517 GB, free: 0.543 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002301/0.01685, allocations: 245.5 kB / 0.8519 GB, free: 292 kB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.01685, allocations: 4 kB / 0.8519 GB, free: 288 kB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001987/0.01705, allocations: 63.91 kB / 0.852 GB, free: 224 kB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.01705, allocations: 4 kB / 0.852 GB, free: 220 kB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.055e-05/0.01707, allocations: 11.92 kB / 0.852 GB, free: 208 kB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.01707, allocations: 3.938 kB / 0.852 GB, free: 204 kB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.01708, allocations: 7.938 kB / 0.852 GB, free: 196 kB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002723/0.01735, allocations: 196.5 kB / 0.8522 GB, free: 15.98 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001128/0.01746, allocations: 75.55 kB / 0.8523 GB, free: 15.91 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.926e-05/0.0175, allocations: 4 kB / 0.8523 GB, free: 15.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001709/0.01767, allocations: 35.97 kB / 0.8523 GB, free: 15.87 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.988e-05/0.01772, allocations: 31.89 kB / 0.8523 GB, free: 15.84 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-05/0.01774, allocations: 11.97 kB / 0.8523 GB, free: 15.82 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0001165/0.01786, allocations: 160.7 kB / 0.8525 GB, free: 15.66 MB / 0.823 GB Notification: Performance of sort global known variables: time 6e-08/0.01786, allocations: 0 / 0.8525 GB, free: 15.66 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002264/0.01809, allocations: 96 kB / 0.8526 GB, free: 15.57 MB / 0.823 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.0001545/0.01824, allocations: 116.2 kB / 0.8527 GB, free: 15.45 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0003326/0.01857, allocations: 272.6 kB / 0.8529 GB, free: 15.16 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.01858, allocations: 4 kB / 0.853 GB, free: 15.16 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001247/0.0187, allocations: 90.34 kB / 0.853 GB, free: 15.07 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002482/0.01895, allocations: 117.8 kB / 0.8532 GB, free: 14.95 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001302/0.02025, allocations: 0.7029 MB / 0.8538 GB, free: 14.22 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.78e-05/0.02033, allocations: 137.1 kB / 0.854 GB, free: 14.07 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0002516/0.02058, allocations: 86.95 kB / 0.8541 GB, free: 13.98 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003016/0.02088, allocations: 149.2 kB / 0.8542 GB, free: 13.84 MB / 0.823 GB Notification: Performance of SimCode: time 9.92e-07/0.02088, allocations: 0 / 0.8542 GB, free: 13.84 MB / 0.823 GB Notification: Performance of Templates: time 0.01105/0.03193, allocations: 10.31 MB / 0.8643 GB, free: 3.73 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.211052142083645]