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.0009517/0.0009517, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001153/0.001153, allocations: 169 kB / 24.06 MB, free: 456 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 1.001/1.001, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.186/2.186, allocations: 429.5 MB / 0.6743 GB, free: 3.898 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.403e-06/1.403e-06, allocations: 0 / 0.8794 GB, free: 5.973 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.369e-05/1.509e-05, allocations: 2.312 kB / 0.8794 GB, free: 5.969 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.002964/0.002979, allocations: 2.876 MB / 0.8822 GB, free: 3.105 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002469/0.005448, allocations: 2.196 MB / 0.8844 GB, free: 0.9102 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001266/0.005575, allocations: 4 kB / 0.8844 GB, free: 0.9062 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0005544/0.006129, allocations: 238.5 kB / 0.8846 GB, free: 0.6719 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.000129/0.006258, allocations: 81.31 kB / 0.8847 GB, free: 0.5938 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008463/0.007104, allocations: 486.8 kB / 0.8852 GB, free: 120 kB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000502/0.007606, allocations: 0.5297 MB / 0.8857 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 7.548e-05/0.007682, allocations: 28.92 kB / 0.8857 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002369/0.007919, allocations: 267.5 kB / 0.886 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001744/0.008093, allocations: 187.6 kB / 0.8861 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.238e-05/0.008136, allocations: 36 kB / 0.8862 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003334/0.008469, allocations: 263.5 kB / 0.8864 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001444/0.008613, allocations: 159.6 kB / 0.8866 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001411/0.008755, allocations: 139.6 kB / 0.8867 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0005283/0.009283, allocations: 0.5374 MB / 0.8872 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.009285, allocations: 0 / 0.8872 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of FrontEnd: time 6.71e-07/0.009286, allocations: 4 kB / 0.8872 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.00929, allocations: 0 / 0.8872 GB, free: 13.98 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.0009238/0.01021, allocations: 0.8835 MB / 0.8881 GB, free: 13.05 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.01025, allocations: 8.031 kB / 0.8881 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001345/0.01159, allocations: 252.3 kB / 0.8883 GB, free: 12.8 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004357/0.01203, allocations: 326.6 kB / 0.8887 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.99e-05/0.01213, allocations: 131.3 kB / 0.8888 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.273e-05/0.01217, allocations: 20.36 kB / 0.8888 GB, free: 12.28 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004467/0.01262, allocations: 236.4 kB / 0.889 GB, free: 12.04 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.01263, allocations: 192 / 0.889 GB, free: 12.04 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.966e-05/0.01266, allocations: 8.125 kB / 0.889 GB, free: 12.04 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.01266, allocations: 4 kB / 0.889 GB, free: 12.03 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001959/0.01286, allocations: 99.83 kB / 0.8891 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001098/0.01396, allocations: 0.7181 MB / 0.8898 GB, free: 11.19 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001627/0.01558, allocations: 459.2 kB / 0.8903 GB, free: 10.73 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001272/0.01571, allocations: 71.62 kB / 0.8903 GB, free: 10.65 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.68e-05/0.01574, allocations: 11.94 kB / 0.8904 GB, free: 10.64 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002603/0.016, allocations: 181.1 kB / 0.8905 GB, free: 10.45 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=21): time 1.272e-06/0.016, allocations: 0 / 0.8905 GB, free: 10.45 MB / 0.8542 GB Notification: Performance of matching and sorting (n=21): time 0.0005406/0.01654, allocations: 276.2 kB / 0.8908 GB, free: 10.18 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.278e-05/0.01658, allocations: 71.27 kB / 0.8909 GB, free: 10.09 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003432/0.01693, allocations: 0.5181 MB / 0.8914 GB, free: 9.555 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.787e-05/0.01697, allocations: 33.7 kB / 0.8914 GB, free: 9.516 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001572/0.01713, allocations: 283.2 kB / 0.8917 GB, free: 9.23 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.165e-05/0.01719, allocations: 71.41 kB / 0.8917 GB, free: 9.16 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001137/0.01731, allocations: 79.28 kB / 0.8918 GB, free: 9.074 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001934/0.0175, allocations: 0.5664 MB / 0.8924 GB, free: 8.496 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001675/0.01767, allocations: 117.6 kB / 0.8925 GB, free: 8.375 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001896/0.01786, allocations: 186.7 kB / 0.8927 GB, free: 8.172 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002579/0.01811, allocations: 179.2 kB / 0.8928 GB, free: 7.988 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.01812, allocations: 3.938 kB / 0.8928 GB, free: 7.984 MB / 0.8542 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005741/0.01869, allocations: 458.8 kB / 0.8933 GB, free: 7.52 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.82e-05/0.01873, allocations: 45.69 kB / 0.8933 GB, free: 7.469 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.01873, allocations: 0 / 0.8933 GB, free: 7.469 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.01874, allocations: 4 kB / 0.8933 GB, free: 7.465 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002675/0.01901, allocations: 75.91 kB / 0.8934 GB, free: 7.391 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.186e-06/0.01902, allocations: 0 / 0.8934 GB, free: 7.391 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001929/0.01921, allocations: 47.86 kB / 0.8934 GB, free: 7.344 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.737e-05/0.01925, allocations: 15.98 kB / 0.8934 GB, free: 7.328 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.000154/0.0194, allocations: 182.5 kB / 0.8936 GB, free: 7.141 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.004e-05/0.01948, allocations: 51.72 kB / 0.8937 GB, free: 7.09 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.986e-05/0.01953, allocations: 40.02 kB / 0.8937 GB, free: 7.051 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.01953, allocations: 4 kB / 0.8937 GB, free: 7.047 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.01954, allocations: 0 / 0.8937 GB, free: 7.047 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.01954, allocations: 3.984 kB / 0.8937 GB, free: 7.043 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003316/0.01988, allocations: 332.5 kB / 0.894 GB, free: 6.691 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.01988, allocations: 3.984 kB / 0.894 GB, free: 6.688 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002279/0.02011, allocations: 75.86 kB / 0.8941 GB, free: 6.613 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.02011, allocations: 0 / 0.8941 GB, free: 6.613 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.521e-05/0.02013, allocations: 11.98 kB / 0.8941 GB, free: 6.602 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.02014, allocations: 0 / 0.8941 GB, free: 6.602 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.02014, allocations: 7.984 kB / 0.8941 GB, free: 6.594 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004356/0.02057, allocations: 269.4 kB / 0.8944 GB, free: 6.309 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001327/0.02071, allocations: 103.6 kB / 0.8945 GB, free: 6.207 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.339e-05/0.02075, allocations: 4 kB / 0.8945 GB, free: 6.203 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001979/0.02095, allocations: 35.97 kB / 0.8945 GB, free: 6.168 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.859e-05/0.02101, allocations: 27.95 kB / 0.8945 GB, free: 6.141 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.467e-05/0.02103, allocations: 15.97 kB / 0.8946 GB, free: 6.125 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001794/0.02121, allocations: 311 kB / 0.8949 GB, free: 5.824 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.02121, allocations: 4 kB / 0.8949 GB, free: 5.82 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002863/0.0215, allocations: 99.94 kB / 0.895 GB, free: 5.723 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.0001756/0.02167, allocations: 127.2 kB / 0.8951 GB, free: 5.59 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004728/0.02214, allocations: 306.2 kB / 0.8954 GB, free: 5.27 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.02215, allocations: 0 / 0.8954 GB, free: 5.27 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001545/0.0223, allocations: 103.5 kB / 0.8955 GB, free: 5.164 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000329/0.02263, allocations: 129.7 kB / 0.8956 GB, free: 5.035 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001302/0.02393, allocations: 0.6995 MB / 0.8963 GB, free: 4.305 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001018/0.02403, allocations: 133.1 kB / 0.8964 GB, free: 4.152 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002877/0.02432, allocations: 90.91 kB / 0.8965 GB, free: 4.062 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003382/0.02466, allocations: 194.1 kB / 0.8967 GB, free: 3.871 MB / 0.8542 GB Notification: Performance of SimCode: time 5.81e-07/0.02466, allocations: 0 / 0.8967 GB, free: 3.871 MB / 0.8542 GB Notification: Performance of Templates: time 0.01466/0.03932, allocations: 10.83 MB / 0.9073 GB, free: 9.195 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: 6.123323642183095]