Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.SeriesDpOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008791/0.008791, allocations: 170 kB / 16.26 MB, free: 6.613 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.37/1.37, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.686/2.686, allocations: 437.8 MB / 0.7121 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004049/0.0004051, allocations: 12.28 kB / 0.8728 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6298/0.6302, allocations: 153.8 MB / 1.023 GB, free: 116 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.1949/0.8252, allocations: 157.3 MB / 1.177 GB, free: 2.23 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.005144/0.8304, allocations: 3.601 MB / 1.18 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004435/0.8309, allocations: 11.94 kB / 1.18 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0006106/0.8315, allocations: 139.2 kB / 1.18 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001496/0.833, allocations: 0.4902 MB / 1.181 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001235/0.8342, allocations: 394.6 kB / 1.181 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.003772/0.838, allocations: 3.491 MB / 1.185 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001381/0.8394, allocations: 0.7465 MB / 1.185 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002042/0.8415, allocations: 0.9024 MB / 1.186 GB, free: 8.434 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00126/0.8428, allocations: 0.7155 MB / 1.187 GB, free: 7.715 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001986/0.843, allocations: 32 kB / 1.187 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00187/0.8448, allocations: 0.799 MB / 1.188 GB, free: 6.883 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0004119/0.8453, allocations: 286.9 kB / 1.188 GB, free: 6.602 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000925/0.8462, allocations: 0.53 MB / 1.188 GB, free: 6.062 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001991/0.8482, allocations: 1.37 MB / 1.19 GB, free: 4.688 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.8482, allocations: 0 / 1.19 GB, free: 4.688 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.924e-06/0.8482, allocations: 0 / 1.19 GB, free: 4.688 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.065e-05/0.8483, allocations: 0 / 1.19 GB, free: 4.688 MB / 0.9356 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.002448/0.8507, allocations: 1.256 MB / 1.191 GB, free: 3.367 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.8508, allocations: 16.02 kB / 1.191 GB, free: 3.352 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000935/0.8517, allocations: 186.5 kB / 1.191 GB, free: 3.168 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0015/0.8533, allocations: 0.81 MB / 1.192 GB, free: 2.301 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.827e-05/0.8533, allocations: 44.98 kB / 1.192 GB, free: 2.258 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001207/0.8534, allocations: 63.98 kB / 1.192 GB, free: 2.195 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001319/0.8548, allocations: 0.7927 MB / 1.193 GB, free: 1.324 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/0.8548, allocations: 3.938 kB / 1.193 GB, free: 1.32 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.831e-05/0.8549, allocations: 24 kB / 1.193 GB, free: 1.297 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.63e-05/0.8549, allocations: 15.94 kB / 1.193 GB, free: 1.281 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009741/0.8559, allocations: 0.5423 MB / 1.193 GB, free: 0.7383 MB / 0.9356 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.004537/0.8604, allocations: 4.599 MB / 1.198 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007489/0.8612, allocations: 422.3 kB / 1.198 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004394/0.8616, allocations: 250.9 kB / 1.199 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00036/0.862, allocations: 194.2 kB / 1.199 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006654/0.8627, allocations: 317.1 kB / 1.199 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=31): time 4.628e-06/0.8627, allocations: 0 / 1.199 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of matching and sorting (n=31): time 0.004549/0.8673, allocations: 1.353 MB / 1.2 GB, free: 9.152 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.714e-05/0.8674, allocations: 81.11 kB / 1.2 GB, free: 9.055 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002085/0.8694, allocations: 1.118 MB / 1.202 GB, free: 7.918 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 9.415e-05/0.8696, allocations: 41.7 kB / 1.202 GB, free: 7.871 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005444/0.8701, allocations: 492 kB / 1.202 GB, free: 7.383 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001186/0.8702, allocations: 106.5 kB / 1.202 GB, free: 7.277 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.569e-05/0.8703, allocations: 45.7 kB / 1.202 GB, free: 7.227 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.8705, allocations: 326 kB / 1.203 GB, free: 6.902 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004145/0.8709, allocations: 208.7 kB / 1.203 GB, free: 6.699 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006664/0.8716, allocations: 0.5291 MB / 1.203 GB, free: 6.035 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009651/0.8726, allocations: 0.6406 MB / 1.204 GB, free: 5.316 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.742e-06/0.8726, allocations: 0 / 1.204 GB, free: 5.316 MB / 0.9512 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002468/0.875, allocations: 1.053 MB / 1.205 GB, free: 4.246 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002341/0.8753, allocations: 283.1 kB / 1.205 GB, free: 3.887 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/0.8753, allocations: 4 kB / 1.205 GB, free: 3.883 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00142/0.8767, allocations: 362.1 kB / 1.206 GB, free: 3.527 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002497/0.877, allocations: 63.84 kB / 1.206 GB, free: 3.465 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0011/0.8781, allocations: 1.015 MB / 1.207 GB, free: 2.426 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008967/0.879, allocations: 103.4 kB / 1.207 GB, free: 2.324 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-05/0.8791, allocations: 27.98 kB / 1.207 GB, free: 2.297 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 7.915e-06/0.8791, allocations: 4 kB / 1.207 GB, free: 2.293 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001449/0.8806, allocations: 0.7285 MB / 1.207 GB, free: 1.555 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.8806, allocations: 12.06 kB / 1.207 GB, free: 1.543 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005382/0.8811, allocations: 205.8 kB / 1.208 GB, free: 1.34 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002132/0.8814, allocations: 59.91 kB / 1.208 GB, free: 1.281 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003873/0.8853, allocations: 3.086 MB / 1.211 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009443/0.8862, allocations: 99.52 kB / 1.211 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.907e-05/0.8863, allocations: 23.94 kB / 1.211 GB, free: 13.92 MB / 0.9669 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 (34): * Single equations (assignments): 32 * 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.0007026/0.887, allocations: 460.7 kB / 1.211 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002816/0.8873, allocations: 98.78 kB / 1.211 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001475/0.8888, allocations: 0.7296 MB / 1.212 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.8888, allocations: 4 kB / 1.212 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.8888, allocations: 0 / 1.212 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/0.8888, allocations: 3.984 kB / 1.212 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002732/0.8915, allocations: 1.615 MB / 1.214 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/0.8916, allocations: 4 kB / 1.214 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001182/0.8917, allocations: 24.2 kB / 1.214 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000513/0.8922, allocations: 229.8 kB / 1.214 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.701e-05/0.8922, allocations: 8 kB / 1.214 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009027/0.8932, allocations: 0.9797 MB / 1.215 GB, free: 9.645 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.8932, allocations: 12.03 kB / 1.215 GB, free: 9.633 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001308/0.8945, allocations: 0.8353 MB / 1.216 GB, free: 8.758 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004354/0.8949, allocations: 223.8 kB / 1.216 GB, free: 8.52 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001806/0.8951, allocations: 8 kB / 1.216 GB, free: 8.512 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006158/0.8958, allocations: 51.89 kB / 1.216 GB, free: 8.461 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.8959, allocations: 31.84 kB / 1.216 GB, free: 8.43 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.598e-05/0.8959, allocations: 15.98 kB / 1.216 GB, free: 8.414 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001172/0.8971, allocations: 0.7916 MB / 1.217 GB, free: 7.613 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.31e-07/0.8971, allocations: 4 kB / 1.217 GB, free: 7.609 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001862/0.899, allocations: 443.4 kB / 1.217 GB, free: 7.176 MB / 0.9669 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 (12): * Single equations (assignments): 9 * 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 {(1,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006986/0.8997, allocations: 173.1 kB / 1.217 GB, free: 7 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002401/0.9021, allocations: 1.086 MB / 1.218 GB, free: 5.883 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.9021, allocations: 0 / 1.218 GB, free: 5.883 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0005256/0.9026, allocations: 238.7 kB / 1.219 GB, free: 5.648 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002558/0.9052, allocations: 458.6 kB / 1.219 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003469/0.9087, allocations: 2.07 MB / 1.221 GB, free: 3.082 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009933/0.9097, allocations: 1.185 MB / 1.222 GB, free: 1.867 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001033/0.9107, allocations: 307.9 kB / 1.223 GB, free: 1.562 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001519/0.9109, allocations: 63.42 kB / 1.223 GB, free: 1.5 MB / 0.9669 GB Notification: Performance of SimCode: time 9.32e-07/0.9109, allocations: 4 kB / 1.223 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of Templates: time 0.03327/0.9442, allocations: 18.81 MB / 1.241 GB, free: 14.9 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & ./Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches