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.0009648/0.0009648, allocations: 80.88 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.0009797/0.0009797, allocations: 181 kB / 23.36 MB, free: 1.129 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.9943/0.9943, allocations: 177.1 MB / 203.8 MB, free: 5.457 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.42/2.42, 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.683e-06/1.683e-06, allocations: 0 / 0.8387 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.286e-05/2.455e-05, allocations: 2.312 kB / 0.8387 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.00327/0.003294, allocations: 2.918 MB / 0.8415 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.002475/0.005769, allocations: 2.223 MB / 0.8437 GB, free: 8.98 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.532e-05/0.005864, allocations: 4 kB / 0.8437 GB, free: 8.977 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0006161/0.00648, allocations: 238.6 kB / 0.8439 GB, free: 8.742 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.000126/0.006606, allocations: 87.08 kB / 0.844 GB, free: 8.656 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007616/0.007368, allocations: 478.8 kB / 0.8445 GB, free: 8.188 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0004314/0.007799, allocations: 0.5257 MB / 0.845 GB, free: 7.66 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 9.51e-05/0.007894, allocations: 26.89 kB / 0.845 GB, free: 7.637 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002491/0.008143, allocations: 271.5 kB / 0.8453 GB, free: 7.371 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001957/0.008339, allocations: 183.5 kB / 0.8454 GB, free: 7.191 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 4.982e-05/0.008389, allocations: 36 kB / 0.8455 GB, free: 7.156 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003372/0.008726, allocations: 279.5 kB / 0.8457 GB, free: 6.883 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001368/0.008863, allocations: 167.5 kB / 0.8459 GB, free: 6.719 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001093/0.008972, allocations: 139.6 kB / 0.846 GB, free: 6.582 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0004786/0.009451, allocations: 0.5374 MB / 0.8466 GB, free: 6.043 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.009455, allocations: 0 / 0.8466 GB, free: 6.043 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.02e-07/0.009455, allocations: 0 / 0.8466 GB, free: 6.043 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.009461, allocations: 4 kB / 0.8466 GB, free: 6.039 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.0007179/0.01018, allocations: 0.704 MB / 0.8472 GB, free: 5.297 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.01021, allocations: 12.62 kB / 0.8473 GB, free: 5.285 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001058/0.01127, allocations: 240.6 kB / 0.8475 GB, free: 5.051 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000292/0.01156, allocations: 279.8 kB / 0.8478 GB, free: 4.75 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.503e-05/0.01166, allocations: 139.3 kB / 0.8479 GB, free: 4.59 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.776e-05/0.01169, allocations: 20.31 kB / 0.8479 GB, free: 4.57 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003904/0.01209, allocations: 233 kB / 0.8481 GB, free: 4.336 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.01209, allocations: 192 / 0.8481 GB, free: 4.336 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.527e-05/0.01212, allocations: 12.12 kB / 0.8481 GB, free: 4.324 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.01212, allocations: 4 kB / 0.8481 GB, free: 4.32 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001767/0.0123, allocations: 79.92 kB / 0.8482 GB, free: 4.242 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009319/0.01323, allocations: 0.5091 MB / 0.8487 GB, free: 3.715 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001395/0.01463, allocations: 487.8 kB / 0.8492 GB, free: 3.227 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.01473, allocations: 56.77 kB / 0.8492 GB, free: 3.168 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.082e-05/0.01476, allocations: 8 kB / 0.8492 GB, free: 3.16 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002338/0.01499, allocations: 173.9 kB / 0.8494 GB, free: 2.977 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=21): time 1.964e-06/0.01499, allocations: 0 / 0.8494 GB, free: 2.977 MB / 0.8073 GB Notification: Performance of matching and sorting (n=21): time 0.0003981/0.01539, allocations: 203.2 kB / 0.8496 GB, free: 2.773 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.327e-05/0.01542, allocations: 59.39 kB / 0.8497 GB, free: 2.703 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002219/0.01564, allocations: 363.3 kB / 0.85 GB, free: 2.336 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 4.358e-05/0.01569, allocations: 33.7 kB / 0.85 GB, free: 2.297 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 7.234e-05/0.01576, allocations: 138.1 kB / 0.8502 GB, free: 2.16 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.827e-05/0.01582, allocations: 71.41 kB / 0.8502 GB, free: 2.09 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001091/0.01593, allocations: 57.62 kB / 0.8503 GB, free: 2.027 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.796e-05/0.01603, allocations: 362.6 kB / 0.8506 GB, free: 1.664 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001521/0.01618, allocations: 120.5 kB / 0.8508 GB, free: 1.539 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001623/0.01634, allocations: 177.6 kB / 0.8509 GB, free: 1.348 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002194/0.01656, allocations: 179.3 kB / 0.8511 GB, free: 1.164 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.01656, allocations: 0 / 0.8511 GB, free: 1.164 MB / 0.8073 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003453/0.01691, allocations: 307.6 kB / 0.8514 GB, free: 0.8438 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.542e-05/0.01694, allocations: 41.69 kB / 0.8514 GB, free: 0.7969 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.01695, allocations: 0 / 0.8514 GB, free: 0.7969 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.01696, allocations: 0 / 0.8514 GB, free: 0.7969 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002674/0.01723, allocations: 83.83 kB / 0.8515 GB, free: 0.7148 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.276e-06/0.01723, allocations: 3.938 kB / 0.8515 GB, free: 0.7109 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001715/0.0174, allocations: 43.86 kB / 0.8516 GB, free: 0.668 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.353e-05/0.01743, allocations: 7.984 kB / 0.8516 GB, free: 0.6602 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.0001252/0.01756, allocations: 132.6 kB / 0.8517 GB, free: 0.5195 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.244e-05/0.01761, allocations: 39.84 kB / 0.8517 GB, free: 492 kB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.765e-05/0.01766, allocations: 48 kB / 0.8518 GB, free: 448 kB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.01766, allocations: 0 / 0.8518 GB, free: 448 kB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.01766, allocations: 0 / 0.8518 GB, free: 448 kB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.01767, allocations: 0 / 0.8518 GB, free: 448 kB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002493/0.01792, allocations: 249.5 kB / 0.852 GB, free: 180 kB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.01792, allocations: 0 / 0.852 GB, free: 180 kB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002331/0.01815, allocations: 75.89 kB / 0.8521 GB, free: 104 kB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.01815, allocations: 0 / 0.8521 GB, free: 104 kB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.483e-05/0.01818, allocations: 19.92 kB / 0.8521 GB, free: 84 kB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.01818, allocations: 0 / 0.8521 GB, free: 84 kB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.01818, allocations: 0 / 0.8521 GB, free: 84 kB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002904/0.01847, allocations: 196 kB / 0.8523 GB, free: 15.87 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/0.01858, allocations: 79.59 kB / 0.8524 GB, free: 15.79 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.091e-05/0.01863, allocations: 8 kB / 0.8524 GB, free: 15.79 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001814/0.01881, allocations: 31.97 kB / 0.8524 GB, free: 15.75 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.945e-05/0.01887, allocations: 31.89 kB / 0.8524 GB, free: 15.72 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.419e-05/0.01889, allocations: 7.969 kB / 0.8524 GB, free: 15.71 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0001213/0.01901, allocations: 160.7 kB / 0.8526 GB, free: 15.55 MB / 0.823 GB Notification: Performance of sort global known variables: time 8e-08/0.01901, allocations: 0 / 0.8526 GB, free: 15.55 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002425/0.01925, allocations: 104 kB / 0.8527 GB, free: 15.45 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.0001804/0.01943, allocations: 112.3 kB / 0.8528 GB, free: 15.33 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.000358/0.01979, allocations: 267.7 kB / 0.8531 GB, free: 15.05 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/0.0198, allocations: 4 kB / 0.8531 GB, free: 15.05 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001365/0.01993, allocations: 94.86 kB / 0.8531 GB, free: 14.95 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002673/0.0202, allocations: 116.4 kB / 0.8533 GB, free: 14.84 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001149/0.02135, allocations: 0.6994 MB / 0.8539 GB, free: 14.11 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.887e-05/0.02143, allocations: 137 kB / 0.8541 GB, free: 13.96 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0002715/0.0217, allocations: 90.97 kB / 0.8542 GB, free: 13.87 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003146/0.02202, allocations: 149.2 kB / 0.8543 GB, free: 13.72 MB / 0.823 GB Notification: Performance of SimCode: time 1.523e-06/0.02202, allocations: 0 / 0.8543 GB, free: 13.72 MB / 0.823 GB Notification: Performance of Templates: time 0.01211/0.03413, allocations: 10.32 MB / 0.8644 GB, free: 3.609 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 -s gbode -gbm=radauIIA3 -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.398574233055115]