Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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.ParallelDpOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001346/0.001346, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 223.3 MB / 240 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.408/2.408, allocations: 390.9 MB / 0.666 GB, free: 2.492 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003945/0.0003946, allocations: 12 kB / 0.8154 GB, free: 13.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6791/0.6796, allocations: 142.4 MB / 0.9544 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.1596/0.8392, allocations: 146.7 MB / 1.098 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00454/0.8438, allocations: 3.377 MB / 1.101 GB, free: 8.996 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004027/0.8442, allocations: 7.938 kB / 1.101 GB, free: 8.988 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000569/0.8448, allocations: 111.2 kB / 1.101 GB, free: 8.879 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001346/0.8462, allocations: 394.1 kB / 1.102 GB, free: 8.492 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001241/0.8474, allocations: 373.8 kB / 1.102 GB, free: 8.133 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003186/0.8506, allocations: 3.019 MB / 1.105 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002791/0.8534, allocations: 2.164 MB / 1.107 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001793/0.8552, allocations: 0.8675 MB / 1.108 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001051/0.8563, allocations: 0.7079 MB / 1.108 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001108/0.8564, allocations: 43.94 kB / 1.109 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001569/0.858, allocations: 0.5497 MB / 1.109 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003328/0.8583, allocations: 274.9 kB / 1.109 GB, free: 488 kB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003559/0.8587, allocations: 229.1 kB / 1.11 GB, free: 252 kB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001292/0.86, allocations: 1.041 MB / 1.111 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.86, allocations: 0 / 1.111 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.803e-06/0.86, allocations: 0 / 1.111 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.589e-05/0.86, allocations: 0 / 1.111 GB, free: 15.2 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.002094/0.8621, allocations: 1.334 MB / 1.112 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.8622, allocations: 8.031 kB / 1.112 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007169/0.8629, allocations: 198.4 kB / 1.112 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001668/0.8646, allocations: 0.8041 MB / 1.113 GB, free: 12.74 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.343e-05/0.8647, allocations: 45 kB / 1.113 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.677e-05/0.8647, allocations: 60 kB / 1.113 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001346/0.8661, allocations: 0.8253 MB / 1.114 GB, free: 11.74 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.058e-05/0.8661, allocations: 7.938 kB / 1.114 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.201e-05/0.8662, allocations: 20 kB / 1.114 GB, free: 11.71 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.974e-05/0.8662, allocations: 16 kB / 1.114 GB, free: 11.7 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009133/0.8671, allocations: 0.5696 MB / 1.114 GB, free: 11.13 MB / 0.8731 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.00403/0.8712, allocations: 4.254 MB / 1.118 GB, free: 6.609 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000723/0.8719, allocations: 446.2 kB / 1.119 GB, free: 6.164 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000485/0.8724, allocations: 346.8 kB / 1.119 GB, free: 5.824 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002784/0.8727, allocations: 194.2 kB / 1.119 GB, free: 5.598 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005125/0.8732, allocations: 335 kB / 1.12 GB, free: 5.25 MB / 0.8731 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002191/0.8735, allocations: 35.62 kB / 1.12 GB, free: 5.215 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=33): time 2.044e-06/0.8735, allocations: 3.938 kB / 1.12 GB, free: 5.211 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33): time 0.001332/0.8748, allocations: 0.7148 MB / 1.12 GB, free: 4.488 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.957e-05/0.8749, allocations: 85.09 kB / 1.121 GB, free: 4.387 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00131/0.8762, allocations: 1.151 MB / 1.122 GB, free: 3.219 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.274e-05/0.8762, allocations: 33.7 kB / 1.122 GB, free: 3.18 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003861/0.8766, allocations: 484.4 kB / 1.122 GB, free: 2.703 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 9.704e-05/0.8767, allocations: 118.4 kB / 1.122 GB, free: 2.586 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.684e-05/0.8768, allocations: 12 kB / 1.122 GB, free: 2.574 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.8769, allocations: 326.1 kB / 1.123 GB, free: 2.25 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003607/0.8773, allocations: 205 kB / 1.123 GB, free: 2.051 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005888/0.8779, allocations: 0.5228 MB / 1.123 GB, free: 1.391 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004756/0.8783, allocations: 318.9 kB / 1.124 GB, free: 1.074 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.8784, allocations: 0 / 1.124 GB, free: 1.074 MB / 0.8731 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001151/0.8795, allocations: 0.7408 MB / 1.124 GB, free: 328 kB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001846/0.8797, allocations: 272.7 kB / 1.125 GB, free: 15.97 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.8797, allocations: 8 kB / 1.125 GB, free: 15.96 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.8798, allocations: 8 kB / 1.125 GB, free: 15.96 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004776/0.8802, allocations: 119.7 kB / 1.125 GB, free: 15.84 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.391e-05/0.8803, allocations: 11.94 kB / 1.125 GB, free: 15.83 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000718/0.881, allocations: 93.12 kB / 1.125 GB, free: 15.74 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.245e-05/0.881, allocations: 28.09 kB / 1.125 GB, free: 15.71 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 6.262e-06/0.8811, allocations: 7.938 kB / 1.125 GB, free: 15.7 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009084/0.882, allocations: 0.5792 MB / 1.125 GB, free: 15.12 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.393e-06/0.882, allocations: 4 kB / 1.125 GB, free: 15.11 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.467e-06/0.882, allocations: 15.98 kB / 1.125 GB, free: 15.1 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004162/0.8824, allocations: 108.7 kB / 1.126 GB, free: 14.99 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.27e-05/0.8825, allocations: 19.92 kB / 1.126 GB, free: 14.97 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006469/0.8831, allocations: 87.75 kB / 1.126 GB, free: 14.89 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.789e-05/0.8832, allocations: 24 kB / 1.126 GB, free: 14.86 MB / 0.8887 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 ($whenCondition1,$PRE.pulse_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004917/0.8837, allocations: 477.1 kB / 1.126 GB, free: 14.39 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001154/0.8838, allocations: 102.8 kB / 1.126 GB, free: 14.29 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009593/0.8847, allocations: 0.5505 MB / 1.127 GB, free: 13.72 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.8848, allocations: 4 kB / 1.127 GB, free: 13.72 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.8848, allocations: 0 / 1.127 GB, free: 13.72 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.8848, allocations: 0 / 1.127 GB, free: 13.72 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002027/0.8868, allocations: 1.507 MB / 1.128 GB, free: 12.14 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.8868, allocations: 4 kB / 1.128 GB, free: 12.13 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003061/0.8871, allocations: 75.84 kB / 1.128 GB, free: 12.06 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.662e-06/0.8872, allocations: 4 kB / 1.128 GB, free: 12.05 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.509e-05/0.8872, allocations: 11.98 kB / 1.128 GB, free: 12.04 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.588e-06/0.8872, allocations: 7.938 kB / 1.128 GB, free: 12.04 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.8872, allocations: 4 kB / 1.128 GB, free: 12.03 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008604/0.8881, allocations: 0.6625 MB / 1.129 GB, free: 11.33 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002949/0.8884, allocations: 235.8 kB / 1.129 GB, free: 11.08 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/0.8885, allocations: 8 kB / 1.129 GB, free: 11.07 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005728/0.8891, allocations: 71.77 kB / 1.129 GB, free: 11 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.623e-05/0.8892, allocations: 27.95 kB / 1.129 GB, free: 10.98 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.613e-05/0.8892, allocations: 16 kB / 1.129 GB, free: 10.96 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0009702/0.8902, allocations: 0.8159 MB / 1.13 GB, free: 10.14 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8902, allocations: 3.938 kB / 1.13 GB, free: 10.13 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001098/0.8913, allocations: 423.4 kB / 1.131 GB, free: 9.719 MB / 0.8887 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_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003942/0.8917, allocations: 182 kB / 1.131 GB, free: 9.539 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001359/0.893, allocations: 0.8967 MB / 1.132 GB, free: 8.621 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.8931, allocations: 0 / 1.132 GB, free: 8.621 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0003817/0.8934, allocations: 235.7 kB / 1.132 GB, free: 8.391 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002806/0.8963, allocations: 0.6399 MB / 1.132 GB, free: 7.762 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002618/0.8989, allocations: 1.978 MB / 1.134 GB, free: 5.73 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007158/0.8996, allocations: 1.182 MB / 1.136 GB, free: 4.52 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.00111/0.9007, allocations: 448 kB / 1.136 GB, free: 4.078 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001788/0.9009, allocations: 79.42 kB / 1.136 GB, free: 4 MB / 0.8887 GB Notification: Performance of SimCode: time 5.01e-07/0.9009, allocations: 0 / 1.136 GB, free: 4 MB / 0.8887 GB Notification: Performance of Templates: time 0.03243/0.9334, allocations: 18.62 MB / 1.154 GB, free: 1.609 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches