Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001562/0.001562, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001554/0.001554, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.537/1.537, allocations: 225.6 MB / 249.4 MB, free: 3.016 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.647/2.647, allocations: 443.5 MB / 0.7304 GB, free: 13.88 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.1.|cooCap.EIR.1.",fileNamePrefix="Buildings_10_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.1.|cooCap.EIR.1.",fileNamePrefix="Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 75.83 kB / 1.059 GB, free: 356 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3396/0.3416, allocations: 160.7 MB / 1.216 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.004496/0.3461, allocations: 2.927 MB / 1.219 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003476/0.3496, allocations: 2.248 MB / 1.221 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000145/0.3497, allocations: 4 kB / 1.221 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0008313/0.3505, allocations: 266.5 kB / 1.221 GB, free: 9.844 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.000183/0.3507, allocations: 71.28 kB / 1.222 GB, free: 9.773 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001414/0.3521, allocations: 489.7 kB / 1.222 GB, free: 9.301 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0006757/0.3528, allocations: 0.5138 MB / 1.223 GB, free: 8.789 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.3529, allocations: 32.72 kB / 1.223 GB, free: 8.754 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002338/0.3532, allocations: 199.5 kB / 1.223 GB, free: 8.559 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000295/0.3535, allocations: 223.2 kB / 1.223 GB, free: 8.34 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.438e-05/0.3535, allocations: 36 kB / 1.223 GB, free: 8.305 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004544/0.354, allocations: 255.7 kB / 1.223 GB, free: 8.055 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001776/0.3542, allocations: 159.5 kB / 1.223 GB, free: 7.898 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002179/0.3544, allocations: 218.9 kB / 1.224 GB, free: 7.684 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000875/0.3553, allocations: 0.759 MB / 1.224 GB, free: 6.922 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.3553, allocations: 4 kB / 1.224 GB, free: 6.918 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3553, allocations: 0 / 1.224 GB, free: 6.918 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.3553, allocations: 0 / 1.224 GB, free: 6.918 MB / 0.9669 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.001484/0.3568, allocations: 0.8474 MB / 1.225 GB, free: 6.008 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.3568, allocations: 12.03 kB / 1.225 GB, free: 5.996 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002185/0.359, allocations: 228.4 kB / 1.225 GB, free: 5.773 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006244/0.3596, allocations: 438.2 kB / 1.226 GB, free: 5.305 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001376/0.3598, allocations: 87.94 kB / 1.226 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.061e-05/0.3598, allocations: 8.375 kB / 1.226 GB, free: 5.199 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001314/0.3611, allocations: 0.5314 MB / 1.226 GB, free: 4.664 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.3611, allocations: 4 kB / 1.226 GB, free: 4.66 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.031e-05/0.3612, allocations: 4 kB / 1.226 GB, free: 4.656 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.3612, allocations: 4 kB / 1.226 GB, free: 4.652 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00207/0.3633, allocations: 0.7572 MB / 1.227 GB, free: 3.895 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002338/0.3656, allocations: 1.269 MB / 1.228 GB, free: 2.574 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005517/0.3711, allocations: 0.9977 MB / 1.229 GB, free: 1.566 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009887/0.3721, allocations: 388.6 kB / 1.23 GB, free: 1.184 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.132e-05/0.3721, allocations: 3.984 kB / 1.23 GB, free: 1.18 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001273/0.3734, allocations: 0.5301 MB / 1.23 GB, free: 0.6367 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=21): time 1.974e-06/0.3734, allocations: 0 / 1.23 GB, free: 0.6367 MB / 0.9669 GB Notification: Performance of matching and sorting (n=21): time 0.003305/0.3767, allocations: 1.191 MB / 1.231 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.058e-05/0.3768, allocations: 55.41 kB / 1.231 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006403/0.3774, allocations: 0.5175 MB / 1.232 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.687e-05/0.3775, allocations: 33.7 kB / 1.232 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001798/0.3776, allocations: 200.4 kB / 1.232 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.147e-05/0.3777, allocations: 71.42 kB / 1.232 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001635/0.3779, allocations: 61.67 kB / 1.232 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001769/0.3781, allocations: 362.8 kB / 1.233 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001101/0.3792, allocations: 468.5 kB / 1.233 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00112/0.3803, allocations: 0.4913 MB / 1.234 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001923/0.3822, allocations: 0.7542 MB / 1.234 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3822, allocations: 0 / 1.234 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002452/0.3847, allocations: 1.084 MB / 1.235 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.461e-05/0.3847, allocations: 41.69 kB / 1.235 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.3847, allocations: 0 / 1.235 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.3847, allocations: 3.938 kB / 1.235 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006186/0.3854, allocations: 95.88 kB / 1.236 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.3854, allocations: 0 / 1.236 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005087/0.3859, allocations: 63.83 kB / 1.236 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.438e-05/0.3859, allocations: 15.92 kB / 1.236 GB, free: 11.07 MB / 0.9825 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 (cooCap.checkBoundsTCon[1],$PRE.cooCap.checkBoundsTCon[1],cooCap.checkBoundsTEva[1],$PRE.cooCap.checkBoundsTEva[1],cooCap.stage,$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.0002825/0.3862, allocations: 215.9 kB / 1.236 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.701e-05/0.3863, allocations: 47.7 kB / 1.236 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000115/0.3864, allocations: 59.84 kB / 1.236 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.3864, allocations: 0 / 1.236 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.3864, allocations: 0 / 1.236 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.3864, allocations: 4 kB / 1.236 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007269/0.3872, allocations: 0.6377 MB / 1.237 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.3872, allocations: 7.984 kB / 1.237 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006035/0.3878, allocations: 87.83 kB / 1.237 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.3878, allocations: 0 / 1.237 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.163e-05/0.3878, allocations: 23.86 kB / 1.237 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.3878, allocations: 4 kB / 1.237 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.3878, allocations: 4 kB / 1.237 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002152/0.39, allocations: 0.8344 MB / 1.237 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002468/0.3902, allocations: 184.7 kB / 1.238 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.751e-05/0.3903, allocations: 11.94 kB / 1.238 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005374/0.3908, allocations: 59.92 kB / 1.238 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.87e-05/0.3909, allocations: 31.95 kB / 1.238 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.357e-05/0.391, allocations: 11.98 kB / 1.238 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004503/0.3914, allocations: 387.1 kB / 1.238 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3914, allocations: 0 / 1.238 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004024/0.3918, allocations: 99.89 kB / 1.238 GB, free: 8.297 MB / 0.9825 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.stage,cooCap.checkBoundsTEva[1],cooCap.checkBoundsTCon[1]) * Number of discrete states: 3 (cooCap.stage,cooCap.checkBoundsTEva[cooCap.stage],cooCap.checkBoundsTCon[cooCap.stage]) * 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.0002707/0.3921, allocations: 147.1 kB / 1.238 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002283/0.3944, allocations: 0.9283 MB / 1.239 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3944, allocations: 0 / 1.239 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.00103/0.3954, allocations: 403.6 kB / 1.24 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004586/0.3959, allocations: 99.27 kB / 1.24 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002379/0.3982, allocations: 1.071 MB / 1.241 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005327/0.3988, allocations: 0.8581 MB / 1.242 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0004478/0.3992, allocations: 130.9 kB / 1.242 GB, free: 4.598 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001831/0.3994, allocations: 39.41 kB / 1.242 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of SimCode: time 5.91e-07/0.3994, allocations: 0 / 1.242 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of Templates: time 0.01599/0.4154, allocations: 8.918 MB / 1.251 GB, free: 11.73 MB / 0.9981 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & ./Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.509610520675778]