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.001251/0.001251, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002164/0.003416, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001321/0.001321, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001806/0.003127, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9652/0.9652, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1015/1.067, allocations: 53.67 MB / 243.4 MB, free: 15.48 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.278/2.278, allocations: 447.1 MB / 0.675 GB, free: 5.887 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2387/2.517, allocations: 146 MB / 0.8176 GB, free: 3.812 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.512e-06/1.512e-06, allocations: 0 / 0.819 GB, free: 2.449 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.129e-05/2.28e-05, allocations: 6.25 kB / 0.819 GB, free: 2.441 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.004235/0.004258, allocations: 2.942 MB / 0.8218 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.003591/0.007848, allocations: 2.25 MB / 0.824 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001651/0.008014, allocations: 0 / 0.824 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0007417/0.008755, allocations: 238.6 kB / 0.8243 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001844/0.00894, allocations: 75.23 kB / 0.8243 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.001188/0.01013, allocations: 493.2 kB / 0.8248 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0007406/0.01087, allocations: 0.5375 MB / 0.8253 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.01098, allocations: 30.89 kB / 0.8254 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000505/0.01148, allocations: 340.5 kB / 0.8257 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000288/0.01177, allocations: 179.6 kB / 0.8259 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 8.133e-05/0.01185, allocations: 36 kB / 0.8259 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005639/0.01241, allocations: 275.6 kB / 0.8262 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.00017/0.01258, allocations: 139.5 kB / 0.8263 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001423/0.01273, allocations: 103.8 kB / 0.8264 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0006956/0.01342, allocations: 470.5 kB / 0.8268 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.335e-05/0.01344, allocations: 0 / 0.8268 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.583e-06/0.01344, allocations: 4 kB / 0.8268 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.929e-05/0.01346, allocations: 0 / 0.8268 GB, free: 10.34 MB / 0.8073 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.001246/0.0147, allocations: 0.7821 MB / 0.8276 GB, free: 9.52 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.01474, allocations: 8.031 kB / 0.8276 GB, free: 9.512 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001599/0.01634, allocations: 317.6 kB / 0.8279 GB, free: 9.184 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004133/0.01675, allocations: 279.9 kB / 0.8282 GB, free: 8.883 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001255/0.01688, allocations: 135.3 kB / 0.8283 GB, free: 8.727 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.726e-05/0.01693, allocations: 16.31 kB / 0.8283 GB, free: 8.711 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005504/0.01748, allocations: 241.4 kB / 0.8286 GB, free: 8.465 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.01749, allocations: 192 / 0.8286 GB, free: 8.465 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.236e-05/0.01754, allocations: 8.125 kB / 0.8286 GB, free: 8.457 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.01754, allocations: 8 kB / 0.8286 GB, free: 8.449 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002518/0.0178, allocations: 82.12 kB / 0.8286 GB, free: 8.371 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001284/0.01908, allocations: 0.517 MB / 0.8292 GB, free: 7.836 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001952/0.02103, allocations: 479.8 kB / 0.8296 GB, free: 7.355 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001452/0.02118, allocations: 60.77 kB / 0.8297 GB, free: 7.293 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.6e-05/0.0212, allocations: 7.984 kB / 0.8297 GB, free: 7.285 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003209/0.02152, allocations: 180 kB / 0.8298 GB, free: 7.098 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=21): time 2.254e-06/0.02153, allocations: 0 / 0.8298 GB, free: 7.098 MB / 0.8073 GB Notification: Performance of matching and sorting (n=21): time 0.0005687/0.02209, allocations: 197.5 kB / 0.83 GB, free: 6.898 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/0.02213, allocations: 59.41 kB / 0.8301 GB, free: 6.828 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003243/0.02246, allocations: 367.6 kB / 0.8304 GB, free: 6.457 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 5.662e-05/0.02251, allocations: 33.7 kB / 0.8305 GB, free: 6.418 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 8.755e-05/0.0226, allocations: 141.7 kB / 0.8306 GB, free: 6.277 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 7.271e-05/0.02268, allocations: 67.41 kB / 0.8307 GB, free: 6.211 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001458/0.02282, allocations: 61.62 kB / 0.8307 GB, free: 6.145 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001835/0.023, allocations: 362.6 kB / 0.8311 GB, free: 5.781 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002141/0.02322, allocations: 112.5 kB / 0.8312 GB, free: 5.664 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002281/0.02345, allocations: 175.6 kB / 0.8314 GB, free: 5.477 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000318/0.02376, allocations: 186.7 kB / 0.8315 GB, free: 5.285 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.02377, allocations: 0 / 0.8315 GB, free: 5.285 MB / 0.8073 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005017/0.02427, allocations: 307.6 kB / 0.8318 GB, free: 4.965 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 5.252e-05/0.02432, allocations: 45.69 kB / 0.8319 GB, free: 4.914 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.02433, allocations: 0 / 0.8319 GB, free: 4.914 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.02434, allocations: 0 / 0.8319 GB, free: 4.914 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004217/0.02476, allocations: 91.81 kB / 0.832 GB, free: 4.824 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.02477, allocations: 0 / 0.832 GB, free: 4.824 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002535/0.02502, allocations: 39.86 kB / 0.832 GB, free: 4.785 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.305e-05/0.02508, allocations: 19.97 kB / 0.832 GB, free: 4.766 MB / 0.8073 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.0001615/0.02524, allocations: 128.5 kB / 0.8321 GB, free: 4.629 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.966e-05/0.02532, allocations: 39.91 kB / 0.8322 GB, free: 4.59 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.747e-05/0.02538, allocations: 44 kB / 0.8322 GB, free: 4.543 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.02539, allocations: 4 kB / 0.8322 GB, free: 4.539 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.02539, allocations: 0 / 0.8322 GB, free: 4.539 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.02539, allocations: 0 / 0.8322 GB, free: 4.539 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003468/0.02574, allocations: 245.6 kB / 0.8325 GB, free: 4.281 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.02574, allocations: 0 / 0.8325 GB, free: 4.281 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005173/0.02626, allocations: 87.88 kB / 0.8325 GB, free: 4.195 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000175/0.02644, allocations: 79.61 kB / 0.8326 GB, free: 4.117 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.02644, allocations: 7.922 kB / 0.8326 GB, free: 4.109 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.021e-05/0.02647, allocations: 3.984 kB / 0.8326 GB, free: 4.105 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.02648, allocations: 4 kB / 0.8326 GB, free: 4.102 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.02648, allocations: 0 / 0.8326 GB, free: 4.102 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003825/0.02686, allocations: 198.5 kB / 0.8328 GB, free: 3.887 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.517e-05/0.02692, allocations: 15.98 kB / 0.8328 GB, free: 3.871 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002556/0.02718, allocations: 31.97 kB / 0.8329 GB, free: 3.84 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.576e-05/0.02726, allocations: 27.89 kB / 0.8329 GB, free: 3.812 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.841e-05/0.02729, allocations: 11.98 kB / 0.8329 GB, free: 3.801 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.000173/0.02747, allocations: 156.7 kB / 0.833 GB, free: 3.652 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.5e-07/0.02747, allocations: 0 / 0.833 GB, free: 3.652 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003843/0.02785, allocations: 103.9 kB / 0.8331 GB, free: 3.551 MB / 0.8073 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.0002471/0.0281, allocations: 118.7 kB / 0.8333 GB, free: 3.426 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.000466/0.02857, allocations: 268.4 kB / 0.8335 GB, free: 3.145 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.521e-05/0.02858, allocations: 7.984 kB / 0.8335 GB, free: 3.137 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0002011/0.02878, allocations: 100.7 kB / 0.8336 GB, free: 3.035 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006289/0.02941, allocations: 0.7272 MB / 0.8343 GB, free: 2.18 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00426/0.03367, allocations: 0.711 MB / 0.835 GB, free: 1.438 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001099/0.03378, allocations: 137.1 kB / 0.8352 GB, free: 1.281 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0004113/0.03419, allocations: 90.95 kB / 0.8352 GB, free: 1.191 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004444/0.03464, allocations: 153.2 kB / 0.8354 GB, free: 1.043 MB / 0.8073 GB Notification: Performance of SimCode: time 1.072e-06/0.03464, allocations: 0 / 0.8354 GB, free: 1.043 MB / 0.8073 GB Notification: Performance of Templates: time 0.01712/0.05175, allocations: 10.61 MB / 0.8458 GB, free: 6.652 MB / 0.823 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.293576921336353]