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.001441/0.001441, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001607/0.001607, allocations: 161.4 kB / 24.16 MB, free: 332 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.9472/0.9472, allocations: 177.1 MB / 204.6 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.905/1.905, allocations: 377.9 MB / 0.624 GB, free: 8.367 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.343e-06/1.343e-06, allocations: 0 / 0.7601 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.135e-05/2.269e-05, allocations: 5.406 kB / 0.7601 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.003914/0.003937, allocations: 2.935 MB / 0.763 GB, free: 3.633 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00294/0.006877, allocations: 2.224 MB / 0.7651 GB, free: 1.406 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001257/0.007002, allocations: 8.688 kB / 0.7651 GB, free: 1.398 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0006933/0.007696, allocations: 239.3 kB / 0.7654 GB, free: 1.164 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001499/0.007845, allocations: 86.03 kB / 0.7654 GB, free: 1.082 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009101/0.008756, allocations: 470.8 kB / 0.7659 GB, free: 0.625 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0005439/0.009299, allocations: 0.5205 MB / 0.7664 GB, free: 108 kB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.009403, allocations: 34.88 kB / 0.7664 GB, free: 72 kB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003222/0.009725, allocations: 267.5 kB / 0.7667 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002312/0.009956, allocations: 183.6 kB / 0.7669 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 4.884e-05/0.01001, allocations: 36 kB / 0.7669 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000332/0.01034, allocations: 283.5 kB / 0.7672 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001212/0.01046, allocations: 168.2 kB / 0.7673 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 9.854e-05/0.01056, allocations: 135.7 kB / 0.7675 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.000483/0.01104, allocations: 0.5349 MB / 0.768 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.01104, allocations: 0 / 0.768 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.52e-07/0.01104, allocations: 0 / 0.768 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.978e-06/0.01105, allocations: 0 / 0.768 GB, free: 14.48 MB / 0.7292 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.0006919/0.01174, allocations: 0.7074 MB / 0.7687 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.78e-05/0.01177, allocations: 12.03 kB / 0.7687 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008727/0.01264, allocations: 205.8 kB / 0.7689 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002856/0.01293, allocations: 281.3 kB / 0.7692 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.499e-05/0.01301, allocations: 135.3 kB / 0.7693 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.285e-05/0.01304, allocations: 8.375 kB / 0.7693 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003669/0.01341, allocations: 229.1 kB / 0.7695 GB, free: 12.85 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.01342, allocations: 0.8125 kB / 0.7695 GB, free: 12.85 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.568e-05/0.01344, allocations: 8.125 kB / 0.7695 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-06/0.01345, allocations: 9.484 kB / 0.7695 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000165/0.01361, allocations: 77.16 kB / 0.7696 GB, free: 12.76 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007864/0.0144, allocations: 0.4929 MB / 0.7701 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001376/0.01578, allocations: 480.9 kB / 0.7705 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/0.01588, allocations: 53.72 kB / 0.7706 GB, free: 11.74 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/0.0159, allocations: 8.875 kB / 0.7706 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002146/0.01612, allocations: 167.3 kB / 0.7708 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=21): time 1.433e-06/0.01612, allocations: 0.9688 kB / 0.7708 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of matching and sorting (n=21): time 0.0003444/0.01646, allocations: 195.5 kB / 0.7709 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.811e-05/0.01649, allocations: 60.38 kB / 0.771 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002138/0.0167, allocations: 367.2 kB / 0.7714 GB, free: 10.92 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.867e-05/0.01674, allocations: 33.7 kB / 0.7714 GB, free: 10.88 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.152e-05/0.01681, allocations: 134.8 kB / 0.7715 GB, free: 10.74 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.266e-05/0.01687, allocations: 71.41 kB / 0.7716 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.178e-05/0.01696, allocations: 54.53 kB / 0.7716 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.624e-05/0.01704, allocations: 362.6 kB / 0.772 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001438/0.01719, allocations: 109.6 kB / 0.7721 GB, free: 10.14 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001947/0.01738, allocations: 174.8 kB / 0.7723 GB, free: 9.949 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002037/0.01759, allocations: 182.3 kB / 0.7724 GB, free: 9.766 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.01759, allocations: 0 / 0.7724 GB, free: 9.766 MB / 0.7292 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003188/0.01791, allocations: 297 kB / 0.7727 GB, free: 9.457 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.979e-05/0.01794, allocations: 41.69 kB / 0.7727 GB, free: 9.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.01794, allocations: 1.688 kB / 0.7728 GB, free: 9.41 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.407e-06/0.01795, allocations: 0 / 0.7728 GB, free: 9.41 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000229/0.01818, allocations: 74.09 kB / 0.7728 GB, free: 9.34 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.534e-06/0.01818, allocations: 0 / 0.7728 GB, free: 9.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001437/0.01833, allocations: 36.84 kB / 0.7729 GB, free: 9.305 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.072e-05/0.01836, allocations: 12.56 kB / 0.7729 GB, free: 9.293 MB / 0.7292 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.0001133/0.01847, allocations: 131.1 kB / 0.773 GB, free: 9.156 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.704e-05/0.01852, allocations: 35.89 kB / 0.773 GB, free: 9.121 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.502e-05/0.01856, allocations: 48.02 kB / 0.7731 GB, free: 9.074 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.01856, allocations: 0.8125 kB / 0.7731 GB, free: 9.074 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.01857, allocations: 4 kB / 0.7731 GB, free: 9.07 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.01857, allocations: 0.5625 kB / 0.7731 GB, free: 9.07 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002375/0.01881, allocations: 246.2 kB / 0.7733 GB, free: 8.812 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.01881, allocations: 0 / 0.7733 GB, free: 8.812 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002023/0.01901, allocations: 65.83 kB / 0.7734 GB, free: 8.75 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.01901, allocations: 0 / 0.7734 GB, free: 8.75 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.176e-05/0.01903, allocations: 16.98 kB / 0.7734 GB, free: 8.734 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.01904, allocations: 0 / 0.7734 GB, free: 8.734 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01904, allocations: 0 / 0.7734 GB, free: 8.734 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002544/0.01929, allocations: 192.6 kB / 0.7736 GB, free: 8.527 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.0194, allocations: 72.64 kB / 0.7736 GB, free: 8.457 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.707e-05/0.01943, allocations: 4 kB / 0.7736 GB, free: 8.453 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001542/0.01959, allocations: 33.97 kB / 0.7737 GB, free: 8.422 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.823e-05/0.01965, allocations: 27.89 kB / 0.7737 GB, free: 8.395 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.993e-05/0.01967, allocations: 9.641 kB / 0.7737 GB, free: 8.387 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001205/0.01979, allocations: 160.7 kB / 0.7739 GB, free: 8.23 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8e-08/0.01979, allocations: 0 / 0.7739 GB, free: 8.23 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000232/0.02002, allocations: 103.9 kB / 0.774 GB, free: 8.129 MB / 0.7292 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.0001681/0.02019, allocations: 133.1 kB / 0.7741 GB, free: 7.992 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003265/0.02051, allocations: 262.3 kB / 0.7743 GB, free: 7.719 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/0.02052, allocations: 8 kB / 0.7744 GB, free: 7.711 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001222/0.02064, allocations: 82.3 kB / 0.7744 GB, free: 7.629 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002611/0.0209, allocations: 117.5 kB / 0.7745 GB, free: 7.516 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001078/0.02198, allocations: 0.6996 MB / 0.7752 GB, free: 6.793 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.606e-05/0.02206, allocations: 135.2 kB / 0.7754 GB, free: 6.645 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002362/0.02229, allocations: 77.39 kB / 0.7754 GB, free: 6.594 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002954/0.02259, allocations: 149.2 kB / 0.7756 GB, free: 6.449 MB / 0.7292 GB Notification: Performance of SimCode: time 7.32e-07/0.02259, allocations: 0 / 0.7756 GB, free: 6.449 MB / 0.7292 GB Notification: Performance of Templates: time 0.01102/0.03361, allocations: 10.11 MB / 0.7855 GB, free: 12.57 MB / 0.7448 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 -s gbode -gbm=radauIIA3 -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: 4.898218193091452]