Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001995/0.001995, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002438/0.002438, allocations: 214.2 kB / 22.25 MB, free: 5.258 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.644/1.644, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.898/2.898, allocations: 476 MB / 0.7699 GB, free: 4.762 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_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_11_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.002268/0.002268, allocations: 67.3 kB / 1.117 GB, free: 41.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4653/0.4676, allocations: 170 MB / 1.283 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.00532/0.4729, allocations: 2.715 MB / 1.286 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004086/0.477, allocations: 2.06 MB / 1.288 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001816/0.4771, allocations: 0 / 1.288 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0008895/0.478, allocations: 230.7 kB / 1.288 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002033/0.4782, allocations: 83.22 kB / 1.288 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001452/0.4797, allocations: 491.5 kB / 1.288 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0007688/0.4805, allocations: 0.518 MB / 1.289 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001334/0.4806, allocations: 32.86 kB / 1.289 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002769/0.4809, allocations: 199.5 kB / 1.289 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003589/0.4812, allocations: 211.3 kB / 1.289 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.792e-05/0.4813, allocations: 40 kB / 1.289 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000588/0.4819, allocations: 271.5 kB / 1.29 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002477/0.4821, allocations: 163.5 kB / 1.29 GB, free: 4.898 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002145/0.4824, allocations: 167.2 kB / 1.29 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001064/0.4834, allocations: 0.7552 MB / 1.291 GB, free: 3.977 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.533e-06/0.4834, allocations: 0 / 1.291 GB, free: 3.977 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.613e-06/0.4834, allocations: 3.938 kB / 1.291 GB, free: 3.973 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.003e-05/0.4834, allocations: 4 kB / 1.291 GB, free: 3.969 MB / 0.9825 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.001683/0.4851, allocations: 0.776 MB / 1.292 GB, free: 3.148 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.4852, allocations: 8.031 kB / 1.292 GB, free: 3.141 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002162/0.4873, allocations: 228.4 kB / 1.292 GB, free: 2.918 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007756/0.4881, allocations: 376.5 kB / 1.292 GB, free: 2.523 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002085/0.4883, allocations: 143.3 kB / 1.292 GB, free: 2.359 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.713e-05/0.4884, allocations: 12.38 kB / 1.292 GB, free: 2.348 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001435/0.4898, allocations: 0.5297 MB / 1.293 GB, free: 1.812 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.4898, allocations: 11.92 kB / 1.293 GB, free: 1.801 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.722e-05/0.4899, allocations: 3.938 kB / 1.293 GB, free: 1.797 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.4899, allocations: 4 kB / 1.293 GB, free: 1.793 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002255/0.4921, allocations: 0.7611 MB / 1.294 GB, free: 1.031 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002655/0.4948, allocations: 1.132 MB / 1.295 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005423/0.5002, allocations: 0.9938 MB / 1.296 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001087/0.5013, allocations: 392.6 kB / 1.296 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.89e-05/0.5013, allocations: 352 / 1.296 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001425/0.5028, allocations: 0.5262 MB / 1.296 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=21): time 2.796e-06/0.5028, allocations: 0 / 1.296 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of matching and sorting (n=21): time 0.003623/0.5064, allocations: 1.191 MB / 1.298 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.363e-05/0.5065, allocations: 59.41 kB / 1.298 GB, free: 12.67 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008075/0.5073, allocations: 0.5175 MB / 1.298 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.625e-05/0.5074, allocations: 33.7 kB / 1.298 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002147/0.5076, allocations: 200.5 kB / 1.298 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001012/0.5077, allocations: 67.42 kB / 1.299 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001747/0.5078, allocations: 73.58 kB / 1.299 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002/0.508, allocations: 358.8 kB / 1.299 GB, free: 11.4 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001202/0.5092, allocations: 0.4904 MB / 1.299 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001337/0.5106, allocations: 0.5515 MB / 1.3 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002051/0.5126, allocations: 0.766 MB / 1.301 GB, free: 9.555 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.5126, allocations: 0 / 1.301 GB, free: 9.555 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002767/0.5154, allocations: 1.113 MB / 1.302 GB, free: 8.422 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.294e-05/0.5155, allocations: 37.69 kB / 1.302 GB, free: 8.379 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.5155, allocations: 4 kB / 1.302 GB, free: 8.375 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.623e-05/0.5155, allocations: 4 kB / 1.302 GB, free: 8.371 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006311/0.5161, allocations: 95.75 kB / 1.302 GB, free: 8.277 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/0.5162, allocations: 8 kB / 1.302 GB, free: 8.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005787/0.5167, allocations: 59.83 kB / 1.302 GB, free: 8.211 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-05/0.5168, allocations: 11.98 kB / 1.302 GB, free: 8.199 MB / 0.9981 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.0004318/0.5172, allocations: 219.5 kB / 1.302 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.956e-05/0.5173, allocations: 47.7 kB / 1.302 GB, free: 7.93 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.249e-05/0.5174, allocations: 44.02 kB / 1.302 GB, free: 7.887 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.5174, allocations: 11.88 kB / 1.302 GB, free: 7.875 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.327e-06/0.5174, allocations: 0 / 1.302 GB, free: 7.875 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.5174, allocations: 0 / 1.302 GB, free: 7.875 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007367/0.5182, allocations: 0.5048 MB / 1.303 GB, free: 7.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.5182, allocations: 0 / 1.303 GB, free: 7.34 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006168/0.5188, allocations: 95.83 kB / 1.303 GB, free: 7.246 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.5188, allocations: 0 / 1.303 GB, free: 7.246 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.098e-05/0.5188, allocations: 11.98 kB / 1.303 GB, free: 7.234 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.5188, allocations: 0 / 1.303 GB, free: 7.234 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.822e-06/0.5188, allocations: 7.922 kB / 1.303 GB, free: 7.227 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002292/0.5211, allocations: 0.835 MB / 1.304 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003278/0.5215, allocations: 111.6 kB / 1.304 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.935e-05/0.5215, allocations: 11.98 kB / 1.304 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005446/0.5221, allocations: 63.92 kB / 1.304 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/0.5222, allocations: 39.81 kB / 1.304 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-05/0.5222, allocations: 15.98 kB / 1.304 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005643/0.5228, allocations: 387.1 kB / 1.304 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.5228, allocations: 4 kB / 1.304 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005094/0.5233, allocations: 91.94 kB / 1.304 GB, free: 5.668 MB / 0.9981 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.0003965/0.5237, allocations: 135.1 kB / 1.305 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00274/0.5264, allocations: 0.9691 MB / 1.305 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.5264, allocations: 0 / 1.305 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001243/0.5277, allocations: 409.9 kB / 1.306 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005941/0.5283, allocations: 93.77 kB / 1.306 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00277/0.5311, allocations: 1.068 MB / 1.307 GB, free: 2.949 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003147/0.5314, allocations: 249 kB / 1.307 GB, free: 2.688 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004988/0.5319, allocations: 134.9 kB / 1.307 GB, free: 2.559 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000178/0.532, allocations: 43.41 kB / 1.307 GB, free: 2.52 MB / 0.9981 GB Notification: Performance of SimCode: time 1.012e-06/0.532, allocations: 0 / 1.307 GB, free: 2.52 MB / 0.9981 GB Notification: Performance of Templates: time 0.01878/0.5508, allocations: 9.781 MB / 1.317 GB, free: 8.859 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & ./Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 10.382147677242756]