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.001332/0.001332, allocations: 93.06 kB / 19.65 MB, free: 280 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.00117/0.00117, allocations: 165 kB / 23.02 MB, free: 1.555 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 1.036/1.036, allocations: 177.1 MB / 203.4 MB, free: 5.613 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.133/2.133, allocations: 429.5 MB / 0.6732 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 2.184e-06/2.184e-06, allocations: 0 / 0.8782 GB, free: 6.262 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.401e-05/3.62e-05, allocations: 3.656 kB / 0.8782 GB, free: 6.258 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.003396/0.003433, allocations: 2.923 MB / 0.8811 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002557/0.005989, allocations: 2.23 MB / 0.8832 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001149/0.006104, allocations: 0 / 0.8832 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0006423/0.006747, allocations: 239.2 kB / 0.8835 GB, free: 0.8789 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001253/0.006872, allocations: 88.56 kB / 0.8836 GB, free: 0.7969 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008462/0.007718, allocations: 488.1 kB / 0.884 GB, free: 328 kB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000602/0.00832, allocations: 0.5258 MB / 0.8845 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.008422, allocations: 28.91 kB / 0.8846 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002186/0.00864, allocations: 269.1 kB / 0.8848 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001945/0.008835, allocations: 187.6 kB / 0.885 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 5.282e-05/0.008888, allocations: 36 kB / 0.885 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003347/0.009222, allocations: 264.6 kB / 0.8853 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001342/0.009356, allocations: 167.5 kB / 0.8854 GB, free: 14.87 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001173/0.009474, allocations: 135.7 kB / 0.8856 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0004984/0.009972, allocations: 0.5375 MB / 0.8861 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.009976, allocations: 0 / 0.8861 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.322e-06/0.009977, allocations: 0 / 0.8861 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.009983, allocations: 0 / 0.8861 GB, free: 14.2 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.0009205/0.0109, allocations: 0.872 MB / 0.8869 GB, free: 13.27 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.01094, allocations: 12.03 kB / 0.887 GB, free: 13.26 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001226/0.01217, allocations: 252.3 kB / 0.8872 GB, free: 13.02 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003916/0.01256, allocations: 338.6 kB / 0.8875 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001216/0.01268, allocations: 139.3 kB / 0.8877 GB, free: 12.5 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.69e-05/0.01273, allocations: 12.38 kB / 0.8877 GB, free: 12.49 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004974/0.01323, allocations: 254.6 kB / 0.8879 GB, free: 12.23 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.01323, allocations: 192 / 0.8879 GB, free: 12.23 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.107e-05/0.01326, allocations: 8.125 kB / 0.8879 GB, free: 12.22 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.01327, allocations: 3.984 kB / 0.8879 GB, free: 12.22 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002965/0.01357, allocations: 139.8 kB / 0.8881 GB, free: 12.08 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001265/0.01484, allocations: 0.8152 MB / 0.8889 GB, free: 11.23 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001729/0.01656, allocations: 482.7 kB / 0.8893 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001658/0.01673, allocations: 75.64 kB / 0.8894 GB, free: 10.67 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.639e-05/0.01676, allocations: 8 kB / 0.8894 GB, free: 10.66 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003071/0.01706, allocations: 198.4 kB / 0.8896 GB, free: 10.45 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=21): time 1.873e-06/0.01707, allocations: 4 kB / 0.8896 GB, free: 10.45 MB / 0.8542 GB Notification: Performance of matching and sorting (n=21): time 0.0006842/0.01775, allocations: 311.2 kB / 0.8899 GB, free: 10.14 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/0.01779, allocations: 67.33 kB / 0.8899 GB, free: 10.06 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004045/0.0182, allocations: 0.5222 MB / 0.8905 GB, free: 9.523 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.448e-05/0.01824, allocations: 33.7 kB / 0.8905 GB, free: 9.484 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001735/0.01842, allocations: 287.2 kB / 0.8908 GB, free: 9.195 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.727e-05/0.01848, allocations: 71.42 kB / 0.8908 GB, free: 9.125 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001308/0.01861, allocations: 75.31 kB / 0.8909 GB, free: 9.043 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0003438/0.01896, allocations: 0.5587 MB / 0.8914 GB, free: 8.473 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002336/0.01919, allocations: 149.6 kB / 0.8916 GB, free: 8.32 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002489/0.01944, allocations: 236.3 kB / 0.8918 GB, free: 8.07 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003375/0.01978, allocations: 227.5 kB / 0.892 GB, free: 7.84 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.01978, allocations: 3.938 kB / 0.892 GB, free: 7.836 MB / 0.8542 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006523/0.02043, allocations: 0.512 MB / 0.8925 GB, free: 7.305 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.911e-05/0.02047, allocations: 49.69 kB / 0.8926 GB, free: 7.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.02048, allocations: 0 / 0.8926 GB, free: 7.25 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/0.0205, allocations: 0 / 0.8926 GB, free: 7.25 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002962/0.0208, allocations: 75.91 kB / 0.8927 GB, free: 7.176 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.0208, allocations: 0 / 0.8927 GB, free: 7.176 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000203/0.021, allocations: 43.8 kB / 0.8927 GB, free: 7.133 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.86e-05/0.02104, allocations: 19.98 kB / 0.8927 GB, free: 7.113 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.0001404/0.02118, allocations: 173.9 kB / 0.8929 GB, free: 6.934 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.257e-05/0.02126, allocations: 51.72 kB / 0.8929 GB, free: 6.883 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.282e-05/0.02131, allocations: 44.02 kB / 0.893 GB, free: 6.84 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.165e-06/0.02131, allocations: 0 / 0.893 GB, free: 6.84 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.02132, allocations: 0 / 0.893 GB, free: 6.84 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.02132, allocations: 3.984 kB / 0.893 GB, free: 6.836 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003741/0.0217, allocations: 416 kB / 0.8934 GB, free: 6.395 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.0217, allocations: 7.984 kB / 0.8934 GB, free: 6.387 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002506/0.02195, allocations: 71.86 kB / 0.8934 GB, free: 6.316 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.02195, allocations: 0 / 0.8934 GB, free: 6.316 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.606e-05/0.02198, allocations: 11.98 kB / 0.8935 GB, free: 6.305 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.02198, allocations: 7.984 kB / 0.8935 GB, free: 6.297 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.02198, allocations: 0 / 0.8935 GB, free: 6.297 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004797/0.02246, allocations: 297 kB / 0.8938 GB, free: 5.984 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001586/0.02262, allocations: 103.6 kB / 0.8939 GB, free: 5.883 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.432e-05/0.02267, allocations: 8 kB / 0.8939 GB, free: 5.875 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002114/0.02288, allocations: 39.97 kB / 0.8939 GB, free: 5.836 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.885e-05/0.02295, allocations: 23.95 kB / 0.8939 GB, free: 5.812 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.844e-05/0.02297, allocations: 15.97 kB / 0.8939 GB, free: 5.797 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002339/0.02321, allocations: 342.9 kB / 0.8943 GB, free: 5.461 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.02321, allocations: 0 / 0.8943 GB, free: 5.461 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002953/0.0235, allocations: 95.94 kB / 0.8944 GB, free: 5.367 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.000216/0.02372, allocations: 131.2 kB / 0.8945 GB, free: 5.23 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005099/0.02423, allocations: 348.1 kB / 0.8948 GB, free: 4.871 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.02423, allocations: 0 / 0.8948 GB, free: 4.871 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001953/0.02443, allocations: 113.4 kB / 0.8949 GB, free: 4.758 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003554/0.02478, allocations: 137.6 kB / 0.895 GB, free: 4.621 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001374/0.02616, allocations: 0.7034 MB / 0.8957 GB, free: 3.887 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.137e-05/0.02624, allocations: 133.1 kB / 0.8959 GB, free: 3.738 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0003033/0.02654, allocations: 122.9 kB / 0.896 GB, free: 3.617 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001453/0.02669, allocations: 48.45 kB / 0.896 GB, free: 3.57 MB / 0.8542 GB Notification: Performance of SimCode: time 9.42e-07/0.02669, allocations: 4 kB / 0.896 GB, free: 3.566 MB / 0.8542 GB Notification: Performance of Templates: time 0.01178/0.03847, allocations: 9.734 MB / 0.9055 GB, free: 9.98 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.735060786828399]