Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.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.001325/0.001325, 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.001444/0.001444, allocations: 205.8 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.429/1.429, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.111/3.111, allocations: 0.49 GB / 0.7959 GB, free: 35.6 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.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") [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.00204/0.00204, allocations: 65.03 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.3146, allocations: 176.1 MB / 1.327 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised): time 0.1802/0.4947, allocations: 148 MB / 1.472 GB, free: 12.43 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.003657/0.4984, allocations: 2.075 MB / 1.474 GB, free: 10.35 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002279/0.4986, allocations: 23.75 kB / 1.474 GB, free: 10.33 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0006583/0.4993, allocations: 234.5 kB / 1.474 GB, free: 10.1 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001551/0.5008, allocations: 0.6962 MB / 1.475 GB, free: 9.398 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001061/0.5019, allocations: 452.5 kB / 1.475 GB, free: 8.961 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.003082/0.505, allocations: 2.763 MB / 1.478 GB, free: 6.188 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002573/0.5076, allocations: 1.994 MB / 1.48 GB, free: 4.176 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002382/0.5099, allocations: 1.468 MB / 1.481 GB, free: 2.703 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001128/0.5111, allocations: 0.887 MB / 1.482 GB, free: 1.812 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.000154/0.5112, allocations: 76 kB / 1.482 GB, free: 1.738 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001259/0.5125, allocations: 0.6898 MB / 1.483 GB, free: 1.047 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003872/0.5129, allocations: 378.6 kB / 1.483 GB, free: 0.6758 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0006081/0.5135, allocations: 0.5248 MB / 1.484 GB, free: 152 kB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001851/0.5153, allocations: 1.639 MB / 1.485 GB, free: 14.5 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 7.754e-06/0.5153, allocations: 3.984 kB / 1.485 GB, free: 14.5 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.342e-06/0.5153, allocations: 0 / 1.485 GB, free: 14.5 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.229e-05/0.5153, allocations: 0 / 1.485 GB, free: 14.5 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.002811/0.5182, allocations: 1.548 MB / 1.487 GB, free: 12.91 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.5182, allocations: 8.031 kB / 1.487 GB, free: 12.9 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008409/0.519, allocations: 215 kB / 1.487 GB, free: 12.69 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001794/0.5208, allocations: 0.9004 MB / 1.488 GB, free: 11.74 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.228e-05/0.5209, allocations: 49.31 kB / 1.488 GB, free: 11.69 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001235/0.521, allocations: 67.94 kB / 1.488 GB, free: 11.62 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001603/0.5226, allocations: 0.9901 MB / 1.489 GB, free: 10.56 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/0.5226, allocations: 0 / 1.489 GB, free: 10.56 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.193e-05/0.5227, allocations: 24 kB / 1.489 GB, free: 10.54 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.61e-05/0.5227, allocations: 19.94 kB / 1.489 GB, free: 10.52 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001407/0.5241, allocations: 0.8038 MB / 1.49 GB, free: 9.715 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004271/0.5284, allocations: 3.54 MB / 1.493 GB, free: 6.07 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00127/0.5297, allocations: 0.6044 MB / 1.494 GB, free: 5.469 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005214/0.5302, allocations: 312.6 kB / 1.494 GB, free: 5.16 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002273/0.5304, allocations: 43.83 kB / 1.494 GB, free: 5.117 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000548/0.531, allocations: 299.1 kB / 1.494 GB, free: 4.812 MB / 1.186 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001429/0.5311, allocations: 19.89 kB / 1.494 GB, free: 4.793 MB / 1.186 GB Notification: Performance of pre-optimization done (n=36): time 1.923e-06/0.5311, allocations: 0 / 1.494 GB, free: 4.793 MB / 1.186 GB Notification: Performance of matching and sorting (n=36): time 0.00492/0.536, allocations: 1.511 MB / 1.496 GB, free: 3.27 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/0.5361, allocations: 59.34 kB / 1.496 GB, free: 3.199 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00142/0.5375, allocations: 1.14 MB / 1.497 GB, free: 2.043 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 5.264e-05/0.5375, allocations: 41.64 kB / 1.497 GB, free: 1.996 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005033/0.538, allocations: 0.5399 MB / 1.498 GB, free: 1.449 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/0.5382, allocations: 134.8 kB / 1.498 GB, free: 1.316 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002/0.5384, allocations: 122.1 kB / 1.498 GB, free: 1.191 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.5385, allocations: 322 kB / 1.498 GB, free: 0.8711 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000476/0.539, allocations: 272.4 kB / 1.498 GB, free: 0.5938 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001102/0.5401, allocations: 1.23 MB / 1.5 GB, free: 15.07 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001051/0.5411, allocations: 0.7016 MB / 1.5 GB, free: 14.28 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.77e-06/0.5411, allocations: 8 kB / 1.5 GB, free: 14.27 MB / 1.201 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002457/0.5436, allocations: 1.133 MB / 1.501 GB, free: 13.12 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 5.277e-05/0.5436, allocations: 39.52 kB / 1.501 GB, free: 13.07 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.487e-06/0.5437, allocations: 4 kB / 1.501 GB, free: 13.07 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001346/0.545, allocations: 352.8 kB / 1.502 GB, free: 12.72 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003949/0.5454, allocations: 95.86 kB / 1.502 GB, free: 12.63 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001105/0.5465, allocations: 1.004 MB / 1.503 GB, free: 11.6 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007063/0.5472, allocations: 71.91 kB / 1.503 GB, free: 11.53 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.591e-05/0.5473, allocations: 31.94 kB / 1.503 GB, free: 11.5 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007954/0.5481, allocations: 0.5627 MB / 1.503 GB, free: 10.93 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001026/0.5491, allocations: 1.187 MB / 1.505 GB, free: 9.43 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009307/0.55, allocations: 0.6275 MB / 1.505 GB, free: 8.719 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.585e-06/0.55, allocations: 0 / 1.505 GB, free: 8.719 MB / 1.201 GB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.001677/0.5517, allocations: 0.9218 MB / 1.506 GB, free: 7.773 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 3.763e-05/0.5517, allocations: 41.69 kB / 1.506 GB, free: 7.727 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.5517, allocations: 8.656 kB / 1.506 GB, free: 7.719 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000551/0.5523, allocations: 220.6 kB / 1.506 GB, free: 7.5 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000381/0.5527, allocations: 99.8 kB / 1.507 GB, free: 7.402 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003766/0.5564, allocations: 2.98 MB / 1.509 GB, free: 4.328 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000727/0.5572, allocations: 67.92 kB / 1.509 GB, free: 4.262 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.66e-05/0.5572, allocations: 27.98 kB / 1.51 GB, free: 4.234 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 5 (pulse_m_flow.count,$PRE.pulse_m_flow.count,pulse_m_flow.T_start,$PRE.pulse_m_flow.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0002059/0.5574, allocations: 220.1 kB / 1.51 GB, free: 4.012 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001422/0.5576, allocations: 119.2 kB / 1.51 GB, free: 3.895 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001517/0.5591, allocations: 0.7931 MB / 1.511 GB, free: 3.086 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.5591, allocations: 3.984 kB / 1.511 GB, free: 3.082 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.5591, allocations: 0 / 1.511 GB, free: 3.082 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003698/0.5595, allocations: 151.3 kB / 1.511 GB, free: 2.934 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001081/0.5596, allocations: 8 kB / 1.511 GB, free: 2.926 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004906/0.5601, allocations: 39.94 kB / 1.511 GB, free: 2.887 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.5602, allocations: 47.84 kB / 1.511 GB, free: 2.84 MB / 1.201 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001565/0.5617, allocations: 0.7755 MB / 1.512 GB, free: 2.055 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001381/0.5631, allocations: 0.9434 MB / 1.513 GB, free: 1.098 MB / 1.201 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003584/0.5635, allocations: 196.3 kB / 1.513 GB, free: 0.9062 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001032/0.5645, allocations: 0.789 MB / 1.513 GB, free: 112 kB / 1.201 GB Notification: Performance of Backend: time 6.22e-07/0.5645, allocations: 0 / 1.513 GB, free: 112 kB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002673/0.5672, allocations: 1.237 MB / 1.515 GB, free: 14.82 MB / 1.217 GB Notification: Performance of SimCode: time 0.004068/0.5712, allocations: 2.772 MB / 1.517 GB, free: 11.99 MB / 1.217 GB Notification: Performance of Templates: time 0.03754/0.6088, allocations: 23.01 MB / 1.54 GB, free: 5.375 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & ./Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.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.234238819000893]