Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.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.001784/0.001784, allocations: 109.1 kB / 19.71 MB, free: 2.145 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.002203/0.002203, allocations: 213.7 kB / 23 MB, free: 4.969 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.43/1.43, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.096/3.096, allocations: 0.49 GB / 0.7959 GB, free: 35.55 MB / 0.6231 GB " [Timeout remaining time 177] 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.Fluid.Examples.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow") [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.001972/0.001972, allocations: 67.23 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3078/0.3097, allocations: 176.1 MB / 1.327 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.1763/0.486, allocations: 142.4 MB / 1.466 GB, free: 1.988 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.003243/0.4892, allocations: 1.651 MB / 1.468 GB, free: 340 kB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002945/0.4895, allocations: 19.81 kB / 1.468 GB, free: 320 kB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0005844/0.4901, allocations: 159 kB / 1.468 GB, free: 160 kB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001413/0.4915, allocations: 0.5328 MB / 1.468 GB, free: 15.62 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001138/0.4927, allocations: 408.2 kB / 1.469 GB, free: 15.23 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002996/0.4957, allocations: 2.516 MB / 1.471 GB, free: 12.7 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009902/0.4966, allocations: 0.6567 MB / 1.472 GB, free: 12.03 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002203/0.4988, allocations: 1.211 MB / 1.473 GB, free: 10.81 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009892/0.4998, allocations: 0.7311 MB / 1.474 GB, free: 10.08 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001219/0.5, allocations: 56 kB / 1.474 GB, free: 10.02 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001284/0.5012, allocations: 0.6158 MB / 1.475 GB, free: 9.406 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003603/0.5016, allocations: 318.8 kB / 1.475 GB, free: 9.094 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.00058/0.5022, allocations: 461.7 kB / 1.475 GB, free: 8.641 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001834/0.504, allocations: 1.416 MB / 1.477 GB, free: 7.219 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.504, allocations: 7.984 kB / 1.477 GB, free: 7.211 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.734e-06/0.504, allocations: 7.875 kB / 1.477 GB, free: 7.203 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.353e-05/0.504, allocations: 0 / 1.477 GB, free: 7.203 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.00251/0.5066, allocations: 1.433 MB / 1.478 GB, free: 5.727 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.5066, allocations: 8.031 kB / 1.478 GB, free: 5.719 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007928/0.5074, allocations: 195.1 kB / 1.478 GB, free: 5.527 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001658/0.509, allocations: 0.8213 MB / 1.479 GB, free: 4.66 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.683e-05/0.5091, allocations: 48.98 kB / 1.479 GB, free: 4.613 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/0.5092, allocations: 64 kB / 1.479 GB, free: 4.551 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001285/0.5105, allocations: 0.7849 MB / 1.48 GB, free: 3.691 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.092e-05/0.5105, allocations: 11.88 kB / 1.48 GB, free: 3.68 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.454e-05/0.5106, allocations: 20 kB / 1.48 GB, free: 3.66 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.902e-05/0.5106, allocations: 16 kB / 1.48 GB, free: 3.645 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009971/0.5116, allocations: 0.5266 MB / 1.48 GB, free: 3.117 MB / 1.17 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004009/0.5156, allocations: 3.339 MB / 1.484 GB, free: 15.66 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007784/0.5164, allocations: 398.2 kB / 1.484 GB, free: 15.26 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004022/0.5168, allocations: 234.4 kB / 1.484 GB, free: 15.03 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002373/0.517, allocations: 39.97 kB / 1.484 GB, free: 14.99 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000526/0.5175, allocations: 289.1 kB / 1.485 GB, free: 14.69 MB / 1.186 GB Notification: Performance of pre-optimization done (n=31): time 2.655e-06/0.5175, allocations: 0 / 1.485 GB, free: 14.69 MB / 1.186 GB Notification: Performance of matching and sorting (n=31): time 0.00149/0.519, allocations: 0.6352 MB / 1.485 GB, free: 14.05 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.783e-05/0.5191, allocations: 81.11 kB / 1.485 GB, free: 13.95 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001362/0.5204, allocations: 1.069 MB / 1.486 GB, free: 12.86 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 5.473e-05/0.5205, allocations: 41.64 kB / 1.486 GB, free: 12.81 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004413/0.5209, allocations: 0.4926 MB / 1.487 GB, free: 12.32 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/0.521, allocations: 115 kB / 1.487 GB, free: 12.2 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001752/0.5212, allocations: 106.1 kB / 1.487 GB, free: 12.09 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.5214, allocations: 326 kB / 1.487 GB, free: 11.77 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004255/0.5218, allocations: 240.1 kB / 1.488 GB, free: 11.52 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009831/0.5228, allocations: 1.124 MB / 1.489 GB, free: 10.12 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009597/0.5237, allocations: 0.6396 MB / 1.489 GB, free: 9.398 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.077e-06/0.5237, allocations: 4 kB / 1.489 GB, free: 9.395 MB / 1.186 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00131/0.525, allocations: 0.7534 MB / 1.49 GB, free: 8.621 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 4.073e-05/0.5251, allocations: 35.89 kB / 1.49 GB, free: 8.582 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.5251, allocations: 4.656 kB / 1.49 GB, free: 8.578 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.217e-05/0.5251, allocations: 12 kB / 1.49 GB, free: 8.566 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001957/0.5271, allocations: 359.4 kB / 1.491 GB, free: 8.215 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004048/0.5311, allocations: 6.087 MB / 1.496 GB, free: 1.895 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007635/0.5319, allocations: 67.69 kB / 1.497 GB, free: 1.828 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.551e-05/0.5319, allocations: 24 kB / 1.497 GB, free: 1.805 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008206/0.5328, allocations: 0.5296 MB / 1.497 GB, free: 1.262 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009211/0.5337, allocations: 1.092 MB / 1.498 GB, free: 15.89 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008278/0.5345, allocations: 0.5529 MB / 1.499 GB, free: 15.26 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.986e-06/0.5345, allocations: 0 / 1.499 GB, free: 15.26 MB / 1.201 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001187/0.5357, allocations: 0.6716 MB / 1.499 GB, free: 14.57 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 3.748e-05/0.5357, allocations: 42.28 kB / 1.499 GB, free: 14.52 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/0.5357, allocations: 8 kB / 1.499 GB, free: 14.51 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.5358, allocations: 8 kB / 1.499 GB, free: 14.5 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005968/0.5364, allocations: 151.8 kB / 1.5 GB, free: 14.36 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/0.5364, allocations: 15.92 kB / 1.5 GB, free: 14.34 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005913/0.537, allocations: 72.12 kB / 1.5 GB, free: 14.27 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.129e-05/0.537, allocations: 20 kB / 1.5 GB, free: 14.25 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 (pulse_p.count,$PRE.pulse_p.count,pulse_p.T_start,$PRE.pulse_p.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 10 * 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): 10 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002026/0.5372, allocations: 216 kB / 1.5 GB, free: 14.03 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001355/0.5373, allocations: 111.3 kB / 1.5 GB, free: 13.92 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009733/0.5383, allocations: 494.9 kB / 1.5 GB, free: 13.43 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.5383, allocations: 7.984 kB / 1.5 GB, free: 13.43 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.5383, allocations: 3.984 kB / 1.5 GB, free: 13.42 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003294/0.5387, allocations: 127.3 kB / 1.501 GB, free: 13.3 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/0.5388, allocations: 4 kB / 1.501 GB, free: 13.29 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003339/0.5391, allocations: 23.97 kB / 1.501 GB, free: 13.27 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.992e-05/0.5392, allocations: 23.95 kB / 1.501 GB, free: 13.25 MB / 1.201 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001629/0.5408, allocations: 0.7855 MB / 1.501 GB, free: 12.42 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001303/0.5421, allocations: 0.9308 MB / 1.502 GB, free: 11.47 MB / 1.201 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003249/0.5424, allocations: 167.8 kB / 1.502 GB, free: 11.31 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0009855/0.5434, allocations: 0.7439 MB / 1.503 GB, free: 10.55 MB / 1.201 GB Notification: Performance of Backend: time 2.5e-07/0.5434, allocations: 0 / 1.503 GB, free: 10.55 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.003911/0.5473, allocations: 1.197 MB / 1.504 GB, free: 9.324 MB / 1.201 GB Notification: Performance of SimCode: time 0.004182/0.5515, allocations: 2.58 MB / 1.507 GB, free: 6.695 MB / 1.201 GB Notification: Performance of Templates: time 0.03591/0.5874, allocations: 20.81 MB / 1.527 GB, free: 2.219 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & ./Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.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.281486757994571]