Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.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.001823/0.001823, allocations: 96.2 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.002339/0.002339, allocations: 208.7 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.447/1.447, 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.141/3.141, allocations: 0.49 GB / 0.7959 GB, free: 35.37 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.SeriesParallelFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow") [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.002109/0.002109, allocations: 71.2 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2996/0.3018, allocations: 176.1 MB / 1.327 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow): time 0.1902/0.4919, allocations: 148 MB / 1.472 GB, free: 12.43 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.003929/0.4959, allocations: 2.073 MB / 1.474 GB, free: 10.36 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002815/0.4961, allocations: 23.75 kB / 1.474 GB, free: 10.33 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0006836/0.4968, allocations: 230.5 kB / 1.474 GB, free: 10.11 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001673/0.4985, allocations: 0.6955 MB / 1.475 GB, free: 9.41 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.00117/0.4997, allocations: 453.8 kB / 1.475 GB, free: 8.969 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.003199/0.5029, allocations: 2.767 MB / 1.478 GB, free: 6.191 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002675/0.5055, allocations: 1.986 MB / 1.48 GB, free: 4.188 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002614/0.5082, allocations: 1.468 MB / 1.481 GB, free: 2.715 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001189/0.5093, allocations: 0.887 MB / 1.482 GB, free: 1.824 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001546/0.5095, allocations: 79.94 kB / 1.482 GB, free: 1.746 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001451/0.511, allocations: 0.686 MB / 1.483 GB, free: 1.059 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0004236/0.5114, allocations: 374.6 kB / 1.483 GB, free: 0.6914 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0006775/0.5121, allocations: 0.521 MB / 1.484 GB, free: 172 kB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002131/0.5142, allocations: 1.642 MB / 1.485 GB, free: 14.52 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.5142, allocations: 0 / 1.485 GB, free: 14.52 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.402e-06/0.5142, allocations: 0 / 1.485 GB, free: 14.52 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.345e-05/0.5142, allocations: 0 / 1.485 GB, free: 14.52 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.002899/0.5171, allocations: 1.552 MB / 1.487 GB, free: 12.92 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.5171, allocations: 8.031 kB / 1.487 GB, free: 12.91 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00088/0.518, allocations: 207 kB / 1.487 GB, free: 12.71 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001862/0.5199, allocations: 0.9121 MB / 1.488 GB, free: 11.75 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.472e-05/0.5199, allocations: 49.31 kB / 1.488 GB, free: 11.7 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001315/0.5201, allocations: 63.94 kB / 1.488 GB, free: 11.64 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001644/0.5217, allocations: 0.9862 MB / 1.489 GB, free: 10.58 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/0.5217, allocations: 4 kB / 1.489 GB, free: 10.58 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.569e-05/0.5218, allocations: 23.98 kB / 1.489 GB, free: 10.55 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.16e-05/0.5218, allocations: 16 kB / 1.489 GB, free: 10.54 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001434/0.5233, allocations: 0.8038 MB / 1.49 GB, free: 9.734 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004584/0.5278, allocations: 3.54 MB / 1.493 GB, free: 6.09 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001265/0.5291, allocations: 0.6091 MB / 1.494 GB, free: 5.484 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005337/0.5296, allocations: 310 kB / 1.494 GB, free: 5.18 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002425/0.5299, allocations: 47.81 kB / 1.494 GB, free: 5.133 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005749/0.5305, allocations: 299.1 kB / 1.494 GB, free: 4.828 MB / 1.186 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001858/0.5306, allocations: 19.89 kB / 1.494 GB, free: 4.809 MB / 1.186 GB Notification: Performance of pre-optimization done (n=36): time 2.315e-06/0.5307, allocations: 0 / 1.494 GB, free: 4.809 MB / 1.186 GB Notification: Performance of matching and sorting (n=36): time 0.005135/0.5358, allocations: 1.41 MB / 1.496 GB, free: 3.387 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.254e-05/0.5358, allocations: 55.41 kB / 1.496 GB, free: 3.32 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001536/0.5374, allocations: 1.136 MB / 1.497 GB, free: 2.168 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 5.929e-05/0.5374, allocations: 45.64 kB / 1.497 GB, free: 2.117 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005208/0.5379, allocations: 0.5399 MB / 1.497 GB, free: 1.57 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001278/0.5381, allocations: 130.8 kB / 1.498 GB, free: 1.441 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002095/0.5383, allocations: 126.1 kB / 1.498 GB, free: 1.312 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.5384, allocations: 322 kB / 1.498 GB, free: 0.9922 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005019/0.5389, allocations: 272.4 kB / 1.498 GB, free: 0.7148 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001162/0.5401, allocations: 1.222 MB / 1.499 GB, free: 15.2 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001123/0.5412, allocations: 0.7055 MB / 1.5 GB, free: 14.41 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/0.5412, allocations: 4 kB / 1.5 GB, free: 14.4 MB / 1.201 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002764/0.544, allocations: 1.136 MB / 1.501 GB, free: 13.24 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 4.431e-05/0.544, allocations: 41.58 kB / 1.501 GB, free: 13.2 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.544, allocations: 8.656 kB / 1.501 GB, free: 13.19 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001654/0.5457, allocations: 406.2 kB / 1.502 GB, free: 12.79 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005607/0.5463, allocations: 119.8 kB / 1.502 GB, free: 12.67 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00192/0.5482, allocations: 1.659 MB / 1.503 GB, free: 10.96 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007904/0.549, allocations: 59.92 kB / 1.504 GB, free: 10.91 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.913e-05/0.549, allocations: 24 kB / 1.504 GB, free: 10.88 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008923/0.5499, allocations: 0.5687 MB / 1.504 GB, free: 10.3 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001095/0.551, allocations: 1.191 MB / 1.505 GB, free: 8.801 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009462/0.552, allocations: 0.6197 MB / 1.506 GB, free: 8.098 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.859e-06/0.552, allocations: 4 kB / 1.506 GB, free: 8.094 MB / 1.201 GB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.001824/0.5538, allocations: 0.9188 MB / 1.507 GB, free: 7.152 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 4.643e-05/0.5538, allocations: 45.62 kB / 1.507 GB, free: 7.102 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.5538, allocations: 16 kB / 1.507 GB, free: 7.086 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005758/0.5544, allocations: 204.7 kB / 1.507 GB, free: 6.883 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004252/0.5548, allocations: 99.84 kB / 1.507 GB, free: 6.785 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004129/0.559, allocations: 2.985 MB / 1.51 GB, free: 3.707 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008117/0.5598, allocations: 75.91 kB / 1.51 GB, free: 3.633 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.038e-05/0.5598, allocations: 28.06 kB / 1.51 GB, free: 3.605 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): 37 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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: 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 {(10,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0002276/0.5601, allocations: 224.1 kB / 1.51 GB, free: 3.379 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001482/0.5602, allocations: 111.3 kB / 1.51 GB, free: 3.27 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001602/0.5618, allocations: 0.7969 MB / 1.511 GB, free: 2.457 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.5618, allocations: 4 kB / 1.511 GB, free: 2.453 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.5618, allocations: 0 / 1.511 GB, free: 2.453 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003819/0.5622, allocations: 151.2 kB / 1.511 GB, free: 2.305 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/0.5623, allocations: 7.938 kB / 1.511 GB, free: 2.297 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005204/0.5628, allocations: 39.94 kB / 1.511 GB, free: 2.258 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/0.563, allocations: 51.89 kB / 1.511 GB, free: 2.207 MB / 1.201 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001662/0.5646, allocations: 0.7897 MB / 1.512 GB, free: 1.406 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001414/0.566, allocations: 0.9415 MB / 1.513 GB, free: 460 kB / 1.201 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003844/0.5664, allocations: 196.4 kB / 1.513 GB, free: 264 kB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001111/0.5675, allocations: 0.793 MB / 1.514 GB, free: 15.45 MB / 1.217 GB Notification: Performance of Backend: time 4.31e-07/0.5675, allocations: 0 / 1.514 GB, free: 15.45 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.003554/0.5711, allocations: 1.387 MB / 1.515 GB, free: 14.02 MB / 1.217 GB Notification: Performance of SimCode: time 0.004745/0.5758, allocations: 2.883 MB / 1.518 GB, free: 11.09 MB / 1.217 GB Notification: Performance of Templates: time 0.03902/0.6148, allocations: 23.3 MB / 1.541 GB, free: 4.176 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.sim & ./Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.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.355840178999642]