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.000982/0.000982, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.0009824/0.0009824, allocations: 173 kB / 23.02 MB, free: 1.547 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.9641/0.9641, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.06/2.06, allocations: 429.5 MB / 0.6733 GB, free: 4.023 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.503e-06/1.503e-06, allocations: 0 / 0.8782 GB, free: 6.273 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.611e-05/1.761e-05, allocations: 6.25 kB / 0.8782 GB, free: 6.266 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.002914/0.002931, allocations: 2.921 MB / 0.8811 GB, free: 3.355 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002235/0.005166, allocations: 2.237 MB / 0.8833 GB, free: 1.117 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.336e-05/0.00526, allocations: 4 kB / 0.8833 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0006003/0.00586, allocations: 238.5 kB / 0.8835 GB, free: 0.8789 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001174/0.005977, allocations: 83.2 kB / 0.8836 GB, free: 0.7969 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008195/0.006797, allocations: 490.8 kB / 0.884 GB, free: 324 kB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0004612/0.007258, allocations: 0.5179 MB / 0.8845 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.007364, allocations: 32.86 kB / 0.8846 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002253/0.007589, allocations: 267.6 kB / 0.8848 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001886/0.007778, allocations: 183.6 kB / 0.885 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 5.319e-05/0.007831, allocations: 36 kB / 0.885 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000318/0.008149, allocations: 267.5 kB / 0.8853 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.000133/0.008282, allocations: 163.5 kB / 0.8855 GB, free: 14.87 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.000116/0.008398, allocations: 135.7 kB / 0.8856 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0004734/0.008872, allocations: 0.5336 MB / 0.8861 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.008874, allocations: 0 / 0.8861 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.122e-06/0.008875, allocations: 0 / 0.8861 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.67e-06/0.008881, allocations: 7.938 kB / 0.8861 GB, free: 14.19 MB / 0.8542 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.0008906/0.009772, allocations: 0.8759 MB / 0.887 GB, free: 13.27 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.009807, allocations: 8.031 kB / 0.887 GB, free: 13.26 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00116/0.01097, allocations: 252.3 kB / 0.8872 GB, free: 13.01 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003481/0.01131, allocations: 342.6 kB / 0.8875 GB, free: 12.65 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000102/0.01142, allocations: 135.3 kB / 0.8877 GB, free: 12.5 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.901e-05/0.01146, allocations: 16.38 kB / 0.8877 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004526/0.01191, allocations: 250.6 kB / 0.8879 GB, free: 12.23 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.01192, allocations: 192 / 0.8879 GB, free: 12.23 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.596e-05/0.01195, allocations: 12.11 kB / 0.8879 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.01196, allocations: 4 kB / 0.8879 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002565/0.01222, allocations: 119.9 kB / 0.8881 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00112/0.01334, allocations: 0.8308 MB / 0.8889 GB, free: 11.23 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001604/0.01494, allocations: 474.7 kB / 0.8893 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001426/0.01508, allocations: 83.64 kB / 0.8894 GB, free: 10.66 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.882e-05/0.0151, allocations: 4 kB / 0.8894 GB, free: 10.66 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002664/0.01537, allocations: 193.1 kB / 0.8896 GB, free: 10.46 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=21): time 1.894e-06/0.01537, allocations: 0 / 0.8896 GB, free: 10.46 MB / 0.8542 GB Notification: Performance of matching and sorting (n=21): time 0.0005997/0.01597, allocations: 319.2 kB / 0.8899 GB, free: 10.14 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/0.01601, allocations: 59.34 kB / 0.8899 GB, free: 10.07 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003678/0.01638, allocations: 0.5299 MB / 0.8905 GB, free: 9.523 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.16e-05/0.01642, allocations: 33.7 kB / 0.8905 GB, free: 9.484 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001505/0.01657, allocations: 287.2 kB / 0.8908 GB, free: 9.195 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.217e-05/0.01663, allocations: 71.42 kB / 0.8908 GB, free: 9.125 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.01673, allocations: 79.3 kB / 0.8909 GB, free: 9.039 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.0169, allocations: 0.5548 MB / 0.8915 GB, free: 8.473 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002074/0.0171, allocations: 153.6 kB / 0.8916 GB, free: 8.316 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002254/0.01733, allocations: 236.5 kB / 0.8918 GB, free: 8.066 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002937/0.01762, allocations: 223.3 kB / 0.892 GB, free: 7.84 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.01762, allocations: 0 / 0.892 GB, free: 7.84 MB / 0.8542 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006105/0.01824, allocations: 0.5238 MB / 0.8926 GB, free: 7.297 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.768e-05/0.01827, allocations: 37.69 kB / 0.8926 GB, free: 7.254 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.01828, allocations: 0 / 0.8926 GB, free: 7.254 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.01829, allocations: 4 kB / 0.8926 GB, free: 7.25 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002565/0.01855, allocations: 71.92 kB / 0.8927 GB, free: 7.18 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.01855, allocations: 0 / 0.8927 GB, free: 7.18 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001865/0.01874, allocations: 51.8 kB / 0.8927 GB, free: 7.129 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.496e-05/0.01878, allocations: 19.91 kB / 0.8927 GB, free: 7.109 MB / 0.8542 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.0001347/0.01891, allocations: 174.8 kB / 0.8929 GB, free: 6.93 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.661e-05/0.01898, allocations: 51.7 kB / 0.8929 GB, free: 6.879 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.419e-05/0.01902, allocations: 44.02 kB / 0.893 GB, free: 6.836 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.01902, allocations: 0 / 0.893 GB, free: 6.836 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.01903, allocations: 4 kB / 0.893 GB, free: 6.832 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.01903, allocations: 3.984 kB / 0.893 GB, free: 6.828 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003431/0.01937, allocations: 412 kB / 0.8934 GB, free: 6.391 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.01938, allocations: 0 / 0.8934 GB, free: 6.391 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002233/0.0196, allocations: 71.91 kB / 0.8935 GB, free: 6.32 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.0196, allocations: 3.938 kB / 0.8935 GB, free: 6.316 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.629e-05/0.01963, allocations: 15.98 kB / 0.8935 GB, free: 6.301 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.01963, allocations: 0 / 0.8935 GB, free: 6.301 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.01963, allocations: 0 / 0.8935 GB, free: 6.301 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004363/0.02007, allocations: 297 kB / 0.8938 GB, free: 5.988 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001362/0.0202, allocations: 111.6 kB / 0.8939 GB, free: 5.879 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.093e-05/0.02024, allocations: 0 / 0.8939 GB, free: 5.879 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001956/0.02044, allocations: 35.97 kB / 0.8939 GB, free: 5.844 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.733e-05/0.02051, allocations: 27.95 kB / 0.8939 GB, free: 5.816 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-05/0.02053, allocations: 15.97 kB / 0.8939 GB, free: 5.801 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002222/0.02075, allocations: 335 kB / 0.8943 GB, free: 5.473 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.02075, allocations: 4 kB / 0.8943 GB, free: 5.469 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002582/0.02101, allocations: 99.94 kB / 0.8944 GB, free: 5.371 MB / 0.8542 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.0001891/0.0212, allocations: 131.1 kB / 0.8945 GB, free: 5.234 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004722/0.02167, allocations: 350.9 kB / 0.8948 GB, free: 4.871 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.02168, allocations: 0 / 0.8948 GB, free: 4.871 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000178/0.02185, allocations: 115.5 kB / 0.8949 GB, free: 4.754 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003269/0.02218, allocations: 131.9 kB / 0.8951 GB, free: 4.625 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/0.02342, allocations: 0.7073 MB / 0.8957 GB, free: 3.887 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.155e-05/0.0235, allocations: 141.1 kB / 0.8959 GB, free: 3.73 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002798/0.02378, allocations: 118.9 kB / 0.896 GB, free: 3.613 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001379/0.02392, allocations: 44.45 kB / 0.896 GB, free: 3.57 MB / 0.8542 GB Notification: Performance of SimCode: time 9.82e-07/0.02392, allocations: 0 / 0.896 GB, free: 3.57 MB / 0.8542 GB Notification: Performance of Templates: time 0.01149/0.03541, allocations: 10.49 MB / 0.9063 GB, free: 9.23 MB / 0.8698 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.370658976025879]