Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001483/0.001483, allocations: 113.3 kB / 16.41 MB, free: 6.457 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00149/0.00149, allocations: 185.5 kB / 17.34 MB, free: 5.723 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.62/2.62, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 71.84 kB / 1.055 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8277/0.8292, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow): time 0.1675/0.9968, allocations: 161.6 MB / 1.366 GB, free: 11.38 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.003205/1, allocations: 1.756 MB / 1.368 GB, free: 9.621 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004548/1.001, allocations: 11.88 kB / 1.368 GB, free: 9.609 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0006304/1.001, allocations: 170.9 kB / 1.368 GB, free: 9.441 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001517/1.003, allocations: 0.5211 MB / 1.369 GB, free: 8.918 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001222/1.004, allocations: 394.4 kB / 1.369 GB, free: 8.535 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002876/1.007, allocations: 2.551 MB / 1.372 GB, free: 5.98 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002916/1.01, allocations: 2.407 MB / 1.374 GB, free: 3.555 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001903/1.012, allocations: 1.043 MB / 1.375 GB, free: 2.508 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001225/1.013, allocations: 0.7117 MB / 1.376 GB, free: 1.793 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002273/1.013, allocations: 60 kB / 1.376 GB, free: 1.734 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001751/1.015, allocations: 0.7445 MB / 1.376 GB, free: 0.9883 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0004291/1.015, allocations: 322.8 kB / 1.377 GB, free: 0.6719 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0009617/1.016, allocations: 0.5402 MB / 1.377 GB, free: 132 kB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002111/1.018, allocations: 1.415 MB / 1.379 GB, free: 14.71 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/1.018, allocations: 0 / 1.379 GB, free: 14.71 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.512e-06/1.018, allocations: 0 / 1.379 GB, free: 14.71 MB / 1.107 GB Notification: Performance of Transformations before backend: time 4.528e-05/1.019, allocations: 0 / 1.379 GB, free: 14.71 MB / 1.107 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.00271/1.021, allocations: 1.443 MB / 1.38 GB, free: 13.21 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/1.021, allocations: 12.03 kB / 1.38 GB, free: 13.2 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008921/1.022, allocations: 186.5 kB / 1.38 GB, free: 13.01 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001441/1.024, allocations: 0.8645 MB / 1.381 GB, free: 12.09 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.135e-05/1.024, allocations: 48.94 kB / 1.381 GB, free: 12.04 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.814e-05/1.024, allocations: 60 kB / 1.381 GB, free: 11.98 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001349/1.025, allocations: 0.8238 MB / 1.382 GB, free: 11.08 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.045e-05/1.025, allocations: 7.938 kB / 1.382 GB, free: 11.07 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.389e-05/1.025, allocations: 20 kB / 1.382 GB, free: 11.05 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.654e-05/1.025, allocations: 19.98 kB / 1.382 GB, free: 11.04 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001014/1.026, allocations: 0.5618 MB / 1.383 GB, free: 10.47 MB / 1.107 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.00426/1.031, allocations: 4.211 MB / 1.387 GB, free: 5.992 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007335/1.031, allocations: 443.7 kB / 1.387 GB, free: 5.551 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004797/1.032, allocations: 342.8 kB / 1.387 GB, free: 5.215 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003083/1.032, allocations: 190.2 kB / 1.388 GB, free: 4.992 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005246/1.033, allocations: 323.1 kB / 1.388 GB, free: 4.656 MB / 1.107 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002549/1.033, allocations: 35.69 kB / 1.388 GB, free: 4.621 MB / 1.107 GB Notification: Performance of pre-optimization done (n=33): time 2.926e-06/1.033, allocations: 0 / 1.388 GB, free: 4.621 MB / 1.107 GB Notification: Performance of matching and sorting (n=33): time 0.004701/1.038, allocations: 1.561 MB / 1.389 GB, free: 3.031 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.479e-05/1.038, allocations: 81.11 kB / 1.39 GB, free: 2.934 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001484/1.039, allocations: 1.151 MB / 1.391 GB, free: 1.766 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 5.396e-05/1.039, allocations: 37.7 kB / 1.391 GB, free: 1.723 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003985/1.04, allocations: 488.4 kB / 1.391 GB, free: 1.242 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001054/1.04, allocations: 118.5 kB / 1.391 GB, free: 1.125 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001641/1.04, allocations: 118.1 kB / 1.391 GB, free: 1.004 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001126/1.04, allocations: 326 kB / 1.392 GB, free: 0.6797 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000394/1.04, allocations: 234.9 kB / 1.392 GB, free: 456 kB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006101/1.041, allocations: 0.5423 MB / 1.392 GB, free: 15.77 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009252/1.042, allocations: 0.6698 MB / 1.393 GB, free: 15.02 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/1.042, allocations: 4 kB / 1.393 GB, free: 15.02 MB / 1.123 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002333/1.044, allocations: 1.107 MB / 1.394 GB, free: 13.89 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 5.156e-05/1.044, allocations: 37.69 kB / 1.394 GB, free: 13.85 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.602e-05/1.044, allocations: 4.109 kB / 1.394 GB, free: 13.84 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001482/1.046, allocations: 439.1 kB / 1.395 GB, free: 13.41 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003593/1.046, allocations: 79.88 kB / 1.395 GB, free: 13.34 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001422/1.048, allocations: 1.102 MB / 1.396 GB, free: 12.21 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008793/1.049, allocations: 59.94 kB / 1.396 GB, free: 12.15 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-05/1.049, allocations: 23.98 kB / 1.396 GB, free: 12.12 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007674/1.05, allocations: 0.5164 MB / 1.396 GB, free: 11.61 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005848/1.05, allocations: 0.507 MB / 1.397 GB, free: 10.96 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008107/1.051, allocations: 0.5998 MB / 1.397 GB, free: 10.29 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.055e-06/1.051, allocations: 7.938 kB / 1.397 GB, free: 10.28 MB / 1.123 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.001692/1.053, allocations: 0.8923 MB / 1.398 GB, free: 9.367 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 4.185e-05/1.053, allocations: 41.69 kB / 1.398 GB, free: 9.32 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/1.053, allocations: 4.625 kB / 1.398 GB, free: 9.316 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005441/1.053, allocations: 230.3 kB / 1.399 GB, free: 9.09 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003479/1.054, allocations: 87.8 kB / 1.399 GB, free: 9.004 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003917/1.058, allocations: 3.3 MB / 1.402 GB, free: 5.566 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009188/1.058, allocations: 68.25 kB / 1.402 GB, free: 5.5 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.824e-05/1.059, allocations: 20 kB / 1.402 GB, free: 5.48 MB / 1.123 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_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 (35): * Single equations (assignments): 33 * 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 {(10,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0002182/1.059, allocations: 220.7 kB / 1.402 GB, free: 5.258 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001963/1.059, allocations: 102.7 kB / 1.402 GB, free: 5.156 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001397/1.06, allocations: 0.7773 MB / 1.403 GB, free: 4.371 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/1.06, allocations: 4 kB / 1.403 GB, free: 4.367 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/1.06, allocations: 4 kB / 1.403 GB, free: 4.363 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/1.06, allocations: 3.938 kB / 1.403 GB, free: 4.359 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002576/1.063, allocations: 1.726 MB / 1.405 GB, free: 2.551 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.032e-06/1.063, allocations: 8.062 kB / 1.405 GB, free: 2.543 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000253/1.063, allocations: 47.88 kB / 1.405 GB, free: 2.496 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005377/1.064, allocations: 271.7 kB / 1.405 GB, free: 2.23 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.759e-05/1.064, allocations: 8 kB / 1.405 GB, free: 2.223 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001003/1.065, allocations: 1.046 MB / 1.406 GB, free: 1.152 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/1.065, allocations: 0 / 1.406 GB, free: 1.152 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001355/1.066, allocations: 0.9015 MB / 1.407 GB, free: 220 kB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000429/1.067, allocations: 227.7 kB / 1.407 GB, free: 15.97 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001711/1.067, allocations: 8 kB / 1.407 GB, free: 15.96 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006129/1.067, allocations: 39.94 kB / 1.407 GB, free: 15.93 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.555e-05/1.068, allocations: 27.97 kB / 1.407 GB, free: 15.9 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.401e-05/1.068, allocations: 12 kB / 1.407 GB, free: 15.89 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001078/1.069, allocations: 0.8158 MB / 1.408 GB, free: 15.06 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.2e-07/1.069, allocations: 0 / 1.408 GB, free: 15.06 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001338/1.07, allocations: 463.4 kB / 1.409 GB, free: 14.61 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {(10,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004603/1.071, allocations: 175.9 kB / 1.409 GB, free: 14.44 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002705/1.073, allocations: 1.276 MB / 1.41 GB, free: 13.13 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/1.073, allocations: 0 / 1.41 GB, free: 13.13 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0007077/1.074, allocations: 312.1 kB / 1.41 GB, free: 12.82 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002345/1.076, allocations: 0.4992 MB / 1.411 GB, free: 12.32 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0033/1.08, allocations: 1.909 MB / 1.413 GB, free: 10.36 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007767/1.08, allocations: 1.177 MB / 1.414 GB, free: 9.152 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001938/1.081, allocations: 75.42 kB / 1.414 GB, free: 9.078 MB / 1.139 GB Notification: Performance of SimCode: time 6.91e-07/1.081, allocations: 3.938 kB / 1.414 GB, free: 9.074 MB / 1.139 GB Notification: Performance of Templates: time 0.02944/1.11, allocations: 21.29 MB / 1.435 GB, free: 3.871 MB / 1.154 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches