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.0009687/0.0009687, allocations: 85.17 kB / 19.87 MB, free: 4.617 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.001141/0.001141, allocations: 169 kB / 23.27 MB, free: 1.223 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.9506/0.9506, allocations: 177.1 MB / 203.7 MB, free: 5.484 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.292/2.292, allocations: 438.1 MB / 0.682 GB, free: 14.18 MB / 0.6511 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.643e-06/1.643e-06, allocations: 0 / 0.8898 GB, free: 9.75 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.273e-05/2.438e-05, allocations: 5.125 kB / 0.8898 GB, free: 9.746 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.003356/0.00338, allocations: 2.88 MB / 0.8926 GB, free: 6.852 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002432/0.005812, allocations: 2.192 MB / 0.8947 GB, free: 4.648 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001272/0.005939, allocations: 0 / 0.8947 GB, free: 4.648 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0006913/0.00663, allocations: 234.5 kB / 0.895 GB, free: 4.418 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001515/0.006782, allocations: 83.16 kB / 0.895 GB, free: 4.336 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009013/0.007683, allocations: 482.9 kB / 0.8955 GB, free: 3.863 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0004346/0.008117, allocations: 0.5257 MB / 0.896 GB, free: 3.336 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.008222, allocations: 28.92 kB / 0.896 GB, free: 3.305 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002323/0.008455, allocations: 267.6 kB / 0.8963 GB, free: 3.043 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001932/0.008648, allocations: 183.6 kB / 0.8965 GB, free: 2.863 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 5.491e-05/0.008703, allocations: 36 kB / 0.8965 GB, free: 2.828 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003452/0.009048, allocations: 279.5 kB / 0.8968 GB, free: 2.555 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001226/0.009171, allocations: 159.5 kB / 0.8969 GB, free: 2.398 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.009277, allocations: 143.6 kB / 0.8971 GB, free: 2.258 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0005109/0.009788, allocations: 0.5258 MB / 0.8976 GB, free: 1.73 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.009792, allocations: 0 / 0.8976 GB, free: 1.73 MB / 0.8542 GB Notification: Performance of FrontEnd: time 8.62e-07/0.009792, allocations: 0 / 0.8976 GB, free: 1.73 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.009798, allocations: 0 / 0.8976 GB, free: 1.73 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.0008864/0.01068, allocations: 0.8871 MB / 0.8984 GB, free: 0.793 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.01073, allocations: 12.62 kB / 0.8985 GB, free: 0.7812 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001366/0.01209, allocations: 252.3 kB / 0.8987 GB, free: 0.5352 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004303/0.01252, allocations: 318.7 kB / 0.899 GB, free: 204 kB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001409/0.01266, allocations: 139.3 kB / 0.8991 GB, free: 40 kB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.067e-05/0.01271, allocations: 16.38 kB / 0.8991 GB, free: 24 kB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004254/0.01314, allocations: 235.2 kB / 0.8994 GB, free: 15.79 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.01315, allocations: 192 / 0.8994 GB, free: 15.79 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.777e-05/0.01317, allocations: 8.125 kB / 0.8994 GB, free: 15.78 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.01318, allocations: 0 / 0.8994 GB, free: 15.78 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001893/0.01337, allocations: 107.4 kB / 0.8995 GB, free: 15.68 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001023/0.01439, allocations: 0.722 MB / 0.9002 GB, free: 14.93 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001472/0.01586, allocations: 458.7 kB / 0.9006 GB, free: 14.46 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.01597, allocations: 63.98 kB / 0.9007 GB, free: 14.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.54e-05/0.016, allocations: 7.953 kB / 0.9007 GB, free: 14.39 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002363/0.01623, allocations: 186.9 kB / 0.9009 GB, free: 14.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=21): time 1.814e-06/0.01623, allocations: 3.938 kB / 0.9009 GB, free: 14.19 MB / 0.8698 GB Notification: Performance of matching and sorting (n=21): time 0.0005217/0.01676, allocations: 278.9 kB / 0.9011 GB, free: 13.91 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/0.01679, allocations: 59.34 kB / 0.9012 GB, free: 13.84 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003451/0.01713, allocations: 0.5259 MB / 0.9017 GB, free: 13.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.234e-05/0.01718, allocations: 33.7 kB / 0.9017 GB, free: 13.26 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001494/0.01733, allocations: 291.1 kB / 0.902 GB, free: 12.97 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.903e-05/0.01738, allocations: 63.42 kB / 0.9021 GB, free: 12.91 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/0.0175, allocations: 79.28 kB / 0.9022 GB, free: 12.82 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.01766, allocations: 0.5625 MB / 0.9027 GB, free: 12.25 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001563/0.01782, allocations: 121.6 kB / 0.9028 GB, free: 12.12 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001728/0.01799, allocations: 194.6 kB / 0.903 GB, free: 11.91 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002341/0.01823, allocations: 171.7 kB / 0.9032 GB, free: 11.74 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.01823, allocations: 3.938 kB / 0.9032 GB, free: 11.73 MB / 0.8698 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005179/0.01875, allocations: 466.3 kB / 0.9036 GB, free: 11.26 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.481e-05/0.01878, allocations: 37.69 kB / 0.9037 GB, free: 11.22 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.01879, allocations: 0 / 0.9037 GB, free: 11.22 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.679e-06/0.0188, allocations: 4 kB / 0.9037 GB, free: 11.21 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002568/0.01905, allocations: 75.84 kB / 0.9037 GB, free: 11.14 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.404e-06/0.01906, allocations: 0 / 0.9037 GB, free: 11.14 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001799/0.01924, allocations: 47.86 kB / 0.9038 GB, free: 11.09 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.413e-05/0.01927, allocations: 11.98 kB / 0.9038 GB, free: 11.08 MB / 0.8698 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.00015/0.01942, allocations: 178 kB / 0.904 GB, free: 10.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7e-05/0.01949, allocations: 51.66 kB / 0.904 GB, free: 10.85 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.291e-05/0.01954, allocations: 47.95 kB / 0.9041 GB, free: 10.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.01955, allocations: 3.984 kB / 0.9041 GB, free: 10.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.01955, allocations: 7.984 kB / 0.9041 GB, free: 10.79 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.01956, allocations: 4 kB / 0.9041 GB, free: 10.79 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003141/0.01987, allocations: 324.6 kB / 0.9044 GB, free: 10.44 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.01987, allocations: 0 / 0.9044 GB, free: 10.44 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002177/0.02009, allocations: 67.92 kB / 0.9044 GB, free: 10.38 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.02009, allocations: 8 kB / 0.9044 GB, free: 10.37 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.196e-05/0.02012, allocations: 11.97 kB / 0.9045 GB, free: 10.36 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.02012, allocations: 4 kB / 0.9045 GB, free: 10.35 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.02012, allocations: 0 / 0.9045 GB, free: 10.35 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000379/0.0205, allocations: 277.9 kB / 0.9047 GB, free: 10.06 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001281/0.02063, allocations: 99.62 kB / 0.9048 GB, free: 9.961 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.974e-05/0.02067, allocations: 8 kB / 0.9048 GB, free: 9.953 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001905/0.02086, allocations: 35.95 kB / 0.9049 GB, free: 9.918 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.567e-05/0.02091, allocations: 23.97 kB / 0.9049 GB, free: 9.895 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-05/0.02093, allocations: 11.97 kB / 0.9049 GB, free: 9.883 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001727/0.02111, allocations: 319 kB / 0.9052 GB, free: 9.57 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7e-08/0.02111, allocations: 0 / 0.9052 GB, free: 9.57 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002822/0.02139, allocations: 95.94 kB / 0.9053 GB, free: 9.477 MB / 0.8698 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.0001982/0.02159, allocations: 131.2 kB / 0.9054 GB, free: 9.336 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0006542/0.02224, allocations: 304.5 kB / 0.9057 GB, free: 9.016 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.543e-06/0.02225, allocations: 0 / 0.9057 GB, free: 9.016 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001401/0.02239, allocations: 97.55 kB / 0.9058 GB, free: 8.918 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003409/0.02273, allocations: 141.6 kB / 0.9059 GB, free: 8.781 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.02394, allocations: 0.684 MB / 0.9066 GB, free: 8.066 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.361e-05/0.02403, allocations: 145 kB / 0.9067 GB, free: 7.906 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0002633/0.02429, allocations: 90.95 kB / 0.9068 GB, free: 7.816 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003128/0.0246, allocations: 194 kB / 0.907 GB, free: 7.625 MB / 0.8698 GB Notification: Performance of SimCode: time 8.62e-07/0.0246, allocations: 0 / 0.907 GB, free: 7.625 MB / 0.8698 GB Notification: Performance of Templates: time 0.01223/0.03684, allocations: 10.66 MB / 0.9174 GB, free: 13.17 MB / 0.8855 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.456784729380161]