Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser.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.00138/0.00138, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.00153/0.00153, allocations: 211.5 kB / 23 MB, free: 4.934 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.504/1.504, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.334/3.334, allocations: 0.49 GB / 0.7959 GB, free: 35.35 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ideUse.yVal_actual|mPre_flow.y|ideUse.senMasFlo.m_flow",fileNamePrefix="Buildings_12_Buildings.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser") translateModel(Buildings.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ideUse.yVal_actual|mPre_flow.y|ideUse.senMasFlo.m_flow",fileNamePrefix="Buildings_12_Buildings.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser") [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.002059/0.002059, allocations: 67.45 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4279/0.43, allocations: 176.1 MB / 1.327 GB, free: 1.016 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser): time 0.02613/0.4561, allocations: 19.91 MB / 1.347 GB, free: 13.03 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01262/0.4687, allocations: 7.178 MB / 1.354 GB, free: 5.828 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001413/0.4701, allocations: 35.69 kB / 1.354 GB, free: 5.793 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001239/0.4714, allocations: 329.7 kB / 1.354 GB, free: 5.469 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.003173/0.4745, allocations: 0.8402 MB / 1.355 GB, free: 4.625 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002885/0.4774, allocations: 0.8493 MB / 1.356 GB, free: 3.785 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.002709/0.4801, allocations: 1.474 MB / 1.357 GB, free: 2.305 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008738/0.481, allocations: 0.4984 MB / 1.357 GB, free: 1.793 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001453/0.4825, allocations: 0.7548 MB / 1.358 GB, free: 1.035 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006898/0.4832, allocations: 469.9 kB / 1.359 GB, free: 0.5742 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.000107/0.4833, allocations: 68 kB / 1.359 GB, free: 0.5078 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001661/0.4849, allocations: 0.7839 MB / 1.359 GB, free: 15.72 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001925/0.4851, allocations: 171.3 kB / 1.36 GB, free: 15.55 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0003357/0.4855, allocations: 290.5 kB / 1.36 GB, free: 15.27 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001865/0.4873, allocations: 1.273 MB / 1.361 GB, free: 13.99 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.4873, allocations: 0 / 1.361 GB, free: 13.99 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4873, allocations: 0 / 1.361 GB, free: 13.99 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.07e-05/0.4873, allocations: 0 / 1.361 GB, free: 13.99 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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.001867/0.4892, allocations: 1.043 MB / 1.362 GB, free: 12.91 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.346e-05/0.4893, allocations: 8.031 kB / 1.362 GB, free: 12.9 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001717/0.4894, allocations: 84.42 kB / 1.362 GB, free: 12.82 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001217/0.4906, allocations: 0.5654 MB / 1.363 GB, free: 12.22 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.34e-05/0.4907, allocations: 37.38 kB / 1.363 GB, free: 12.19 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.142e-05/0.4908, allocations: 51.92 kB / 1.363 GB, free: 12.14 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009655/0.4917, allocations: 0.5486 MB / 1.363 GB, free: 11.55 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/0.4918, allocations: 3.984 kB / 1.363 GB, free: 11.55 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.787e-05/0.4918, allocations: 16 kB / 1.363 GB, free: 11.53 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.589e-05/0.4918, allocations: 12 kB / 1.363 GB, free: 11.52 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006707/0.4925, allocations: 357.4 kB / 1.364 GB, free: 11.16 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002471/0.495, allocations: 1.593 MB / 1.365 GB, free: 9.512 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007518/0.4957, allocations: 328.9 kB / 1.366 GB, free: 9.176 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003255/0.496, allocations: 182.7 kB / 1.366 GB, free: 8.988 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002028/0.4962, allocations: 48.2 kB / 1.366 GB, free: 8.941 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005237/0.4968, allocations: 299.4 kB / 1.366 GB, free: 8.609 MB / 1.061 GB Notification: Performance of pre-optimization done (n=32): time 2.214e-06/0.4968, allocations: 0 / 1.366 GB, free: 8.609 MB / 1.061 GB Notification: Performance of matching and sorting (n=32): time 0.001218/0.498, allocations: 0.6062 MB / 1.367 GB, free: 7.98 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001082/0.4981, allocations: 195.9 kB / 1.367 GB, free: 7.746 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006425/0.4987, allocations: 0.5107 MB / 1.367 GB, free: 7.223 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.631e-05/0.4988, allocations: 33.7 kB / 1.367 GB, free: 7.184 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002923/0.4991, allocations: 336.3 kB / 1.368 GB, free: 6.852 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/0.4992, allocations: 111.1 kB / 1.368 GB, free: 6.742 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001498/0.4993, allocations: 93.56 kB / 1.368 GB, free: 6.645 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001988/0.4995, allocations: 366.8 kB / 1.368 GB, free: 6.277 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003239/0.4999, allocations: 182.8 kB / 1.369 GB, free: 6.09 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005272/0.5004, allocations: 448.2 kB / 1.369 GB, free: 5.555 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007416/0.5011, allocations: 447.5 kB / 1.369 GB, free: 5.062 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.002e-06/0.5011, allocations: 4 kB / 1.369 GB, free: 5.059 MB / 1.061 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001038/0.5022, allocations: 0.5794 MB / 1.37 GB, free: 4.461 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.351e-05/0.5022, allocations: 47.56 kB / 1.37 GB, free: 4.41 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.5022, allocations: 0 / 1.37 GB, free: 4.41 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.358e-05/0.5023, allocations: 8 kB / 1.37 GB, free: 4.402 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005553/0.5028, allocations: 103.8 kB / 1.37 GB, free: 4.301 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004543/0.5033, allocations: 0.59 MB / 1.371 GB, free: 3.688 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003926/0.5037, allocations: 51.95 kB / 1.371 GB, free: 3.637 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.763e-05/0.5037, allocations: 23.98 kB / 1.371 GB, free: 3.613 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004892/0.5042, allocations: 326.1 kB / 1.371 GB, free: 3.285 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005219/0.5047, allocations: 455.4 kB / 1.372 GB, free: 2.754 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006704/0.5054, allocations: 435.1 kB / 1.372 GB, free: 2.273 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.883e-06/0.5054, allocations: 0 / 1.372 GB, free: 2.273 MB / 1.061 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0009769/0.5064, allocations: 0.5705 MB / 1.372 GB, free: 1.684 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.12e-05/0.5064, allocations: 41.69 kB / 1.373 GB, free: 1.637 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.5064, allocations: 4.125 kB / 1.373 GB, free: 1.633 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.883e-06/0.5064, allocations: 4 kB / 1.373 GB, free: 1.629 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003427/0.5068, allocations: 84.23 kB / 1.373 GB, free: 1.547 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.5068, allocations: 8 kB / 1.373 GB, free: 1.539 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003843/0.5072, allocations: 51.75 kB / 1.373 GB, free: 1.488 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.295e-05/0.5072, allocations: 23.94 kB / 1.373 GB, free: 1.465 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 8 (mPre_flow.nextEventScaled,mPre_flow.nextEvent,$PRE.mPre_flow.nextEvent,mPre_flow.last,mPre_flow.b,mPre_flow.a,$whenCondition1,ideUse.conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002412/0.5074, allocations: 246.6 kB / 1.373 GB, free: 1.211 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/0.5076, allocations: 63.61 kB / 1.373 GB, free: 1.148 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001223/0.5088, allocations: 0.5858 MB / 1.374 GB, free: 0.5391 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/0.5088, allocations: 3.984 kB / 1.374 GB, free: 0.5352 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.5088, allocations: 0 / 1.374 GB, free: 0.5352 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002289/0.509, allocations: 91.73 kB / 1.374 GB, free: 456 kB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.824e-05/0.5091, allocations: 19.94 kB / 1.374 GB, free: 436 kB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002143/0.5093, allocations: 11.98 kB / 1.374 GB, free: 424 kB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.726e-05/0.5094, allocations: 23.95 kB / 1.374 GB, free: 400 kB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001504/0.5109, allocations: 0.8346 MB / 1.375 GB, free: 15.52 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001508/0.5124, allocations: 1.049 MB / 1.376 GB, free: 14.43 MB / 1.076 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004148/0.5128, allocations: 183.5 kB / 1.376 GB, free: 14.25 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0005324/0.5134, allocations: 386.8 kB / 1.376 GB, free: 13.88 MB / 1.076 GB Notification: Performance of Backend: time 7.72e-07/0.5134, allocations: 0 / 1.376 GB, free: 13.88 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002877/0.5162, allocations: 0.8977 MB / 1.377 GB, free: 12.94 MB / 1.076 GB Notification: Performance of SimCode: time 0.003036/0.5193, allocations: 1.643 MB / 1.379 GB, free: 11.24 MB / 1.076 GB Notification: Performance of Templates: time 0.02652/0.5458, allocations: 14.18 MB / 1.392 GB, free: 13.25 MB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser.makefile [Timeout 300] (rm -f Buildings_12_Buildings.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser.pipe ; mkfifo Buildings_12_Buildings.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser.pipe >> ../files/Buildings_12_Buildings.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser.sim & ./Buildings_12_Buildings.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_DHC_Plants_Cooling_BaseClasses_Validation_IdealUser.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.DHC.Plants.Cooling.BaseClasses.Validation.IdealUser.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.073420035005256]