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.00159/0.00159, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.001699/0.001699, allocations: 214.7 kB / 22.24 MB, free: 4.855 MB / 14.72 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.618/1.618, allocations: 230.6 MB / 256 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] 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 3.753/3.753, allocations: 0.5107 GB / 0.8158 GB, free: 17.88 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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.1.|cooCap.EIR.1.",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.1.|cooCap.EIR.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002097/0.002097, allocations: 67.25 kB / 1.186 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4929/0.495, allocations: 181.9 MB / 1.364 GB, free: 13.61 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.004875/0.4999, allocations: 2.709 MB / 1.367 GB, free: 10.88 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003781/0.5037, allocations: 2.072 MB / 1.369 GB, free: 8.801 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001361/0.5038, allocations: 4 kB / 1.369 GB, free: 8.797 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0008519/0.5047, allocations: 234.6 kB / 1.369 GB, free: 8.566 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001877/0.5049, allocations: 83.22 kB / 1.369 GB, free: 8.484 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001317/0.5062, allocations: 482.6 kB / 1.369 GB, free: 8.02 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0006852/0.5069, allocations: 0.5103 MB / 1.37 GB, free: 7.508 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.507, allocations: 36.86 kB / 1.37 GB, free: 7.465 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002551/0.5072, allocations: 207.4 kB / 1.37 GB, free: 7.262 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003279/0.5076, allocations: 207.2 kB / 1.37 GB, free: 7.059 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.995e-05/0.5077, allocations: 36 kB / 1.37 GB, free: 7.023 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005272/0.5082, allocations: 271.6 kB / 1.371 GB, free: 6.758 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002014/0.5084, allocations: 163.5 kB / 1.371 GB, free: 6.598 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.000212/0.5086, allocations: 171.2 kB / 1.371 GB, free: 6.43 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001033/0.5096, allocations: 0.7514 MB / 1.372 GB, free: 5.676 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.5096, allocations: 4 kB / 1.372 GB, free: 5.672 MB / 1.061 GB Notification: Performance of FrontEnd: time 3.136e-06/0.5096, allocations: 3.938 kB / 1.372 GB, free: 5.668 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.019e-05/0.5097, allocations: 0 / 1.372 GB, free: 5.668 MB / 1.061 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.001709/0.5114, allocations: 0.7721 MB / 1.372 GB, free: 4.852 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.5114, allocations: 8.031 kB / 1.372 GB, free: 4.844 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002567/0.514, allocations: 272.3 kB / 1.373 GB, free: 4.578 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000731/0.5147, allocations: 380.5 kB / 1.373 GB, free: 4.188 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001876/0.5149, allocations: 135.3 kB / 1.373 GB, free: 4.031 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.868e-05/0.515, allocations: 12.38 kB / 1.373 GB, free: 4.02 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001421/0.5164, allocations: 0.5686 MB / 1.374 GB, free: 3.445 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/0.5164, allocations: 0 / 1.374 GB, free: 3.445 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.593e-05/0.5164, allocations: 8 kB / 1.374 GB, free: 3.438 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.5164, allocations: 4 kB / 1.374 GB, free: 3.434 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002255/0.5187, allocations: 0.7984 MB / 1.374 GB, free: 2.637 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00265/0.5213, allocations: 1.171 MB / 1.376 GB, free: 1.434 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005334/0.5267, allocations: 1.037 MB / 1.377 GB, free: 396 kB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001069/0.5278, allocations: 408.6 kB / 1.377 GB, free: 15.98 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.218e-05/0.5278, allocations: 4 kB / 1.377 GB, free: 15.98 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00138/0.5292, allocations: 0.5457 MB / 1.378 GB, free: 15.42 MB / 1.076 GB Notification: Performance of pre-optimization done (n=21): time 2.385e-06/0.5292, allocations: 0 / 1.378 GB, free: 15.42 MB / 1.076 GB Notification: Performance of matching and sorting (n=21): time 0.00361/0.5328, allocations: 1.257 MB / 1.379 GB, free: 14.16 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.415e-05/0.5328, allocations: 59.41 kB / 1.379 GB, free: 14.09 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008008/0.5337, allocations: 0.5252 MB / 1.379 GB, free: 13.55 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 8.553e-05/0.5337, allocations: 33.7 kB / 1.379 GB, free: 13.52 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002381/0.534, allocations: 192.5 kB / 1.38 GB, free: 13.32 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001216/0.5341, allocations: 67.44 kB / 1.38 GB, free: 13.26 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001731/0.5343, allocations: 69.64 kB / 1.38 GB, free: 13.18 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000216/0.5345, allocations: 358.8 kB / 1.38 GB, free: 12.82 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001272/0.5358, allocations: 0.5139 MB / 1.381 GB, free: 12.3 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001298/0.5371, allocations: 0.571 MB / 1.381 GB, free: 11.71 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00214/0.5392, allocations: 0.8007 MB / 1.382 GB, free: 10.9 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.666e-06/0.5392, allocations: 0 / 1.382 GB, free: 10.9 MB / 1.076 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0028/0.542, allocations: 1.165 MB / 1.383 GB, free: 9.719 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 7.364e-05/0.5421, allocations: 41.69 kB / 1.383 GB, free: 9.672 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.5421, allocations: 0 / 1.383 GB, free: 9.672 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.681e-05/0.5421, allocations: 0 / 1.383 GB, free: 9.672 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006999/0.5428, allocations: 103.8 kB / 1.383 GB, free: 9.57 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.5428, allocations: 7.938 kB / 1.383 GB, free: 9.562 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006127/0.5434, allocations: 67.81 kB / 1.383 GB, free: 9.496 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-05/0.5435, allocations: 11.98 kB / 1.383 GB, free: 9.484 MB / 1.076 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.0003989/0.5439, allocations: 217.2 kB / 1.383 GB, free: 9.266 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.962e-05/0.544, allocations: 43.72 kB / 1.383 GB, free: 9.223 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001011/0.5441, allocations: 56.02 kB / 1.384 GB, free: 9.168 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.5441, allocations: 7.875 kB / 1.384 GB, free: 9.16 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.79e-05/0.5441, allocations: 4 kB / 1.384 GB, free: 9.156 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.5441, allocations: 3.984 kB / 1.384 GB, free: 9.152 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008045/0.5449, allocations: 0.5204 MB / 1.384 GB, free: 8.602 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.5449, allocations: 0 / 1.384 GB, free: 8.602 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006759/0.5456, allocations: 95.81 kB / 1.384 GB, free: 8.508 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.5456, allocations: 0 / 1.384 GB, free: 8.508 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.908e-05/0.5457, allocations: 15.97 kB / 1.384 GB, free: 8.492 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.674e-06/0.5457, allocations: 8 kB / 1.384 GB, free: 8.484 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.5457, allocations: 3.938 kB / 1.384 GB, free: 8.48 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002404/0.5481, allocations: 0.879 MB / 1.385 GB, free: 7.582 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003364/0.5484, allocations: 115.6 kB / 1.385 GB, free: 7.469 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.074e-05/0.5485, allocations: 11.98 kB / 1.385 GB, free: 7.457 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006137/0.5491, allocations: 63.92 kB / 1.385 GB, free: 7.395 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/0.5492, allocations: 27.89 kB / 1.385 GB, free: 7.367 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-05/0.5493, allocations: 15.98 kB / 1.385 GB, free: 7.352 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0005148/0.5498, allocations: 391 kB / 1.386 GB, free: 6.969 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.5498, allocations: 4 kB / 1.386 GB, free: 6.965 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004722/0.5503, allocations: 103.9 kB / 1.386 GB, free: 6.863 MB / 1.076 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.0003431/0.5506, allocations: 131.1 kB / 1.386 GB, free: 6.727 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0026/0.5532, allocations: 1.002 MB / 1.387 GB, free: 5.707 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.5532, allocations: 0 / 1.387 GB, free: 5.707 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001153/0.5544, allocations: 431.6 kB / 1.387 GB, free: 5.285 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000609/0.555, allocations: 105.8 kB / 1.387 GB, free: 5.184 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002848/0.5578, allocations: 1.08 MB / 1.388 GB, free: 4.074 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003158/0.5581, allocations: 252.9 kB / 1.389 GB, free: 3.805 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0005352/0.5587, allocations: 138.9 kB / 1.389 GB, free: 3.672 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000198/0.5589, allocations: 43.39 kB / 1.389 GB, free: 3.629 MB / 1.076 GB Notification: Performance of SimCode: time 5.61e-07/0.5589, allocations: 0 / 1.389 GB, free: 3.629 MB / 1.076 GB Notification: Performance of Templates: time 0.01889/0.5778, allocations: 10.03 MB / 1.399 GB, free: 9.73 MB / 1.092 GB " [Timeout remaining time 299] 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.064253220334649]