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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001106/0.001106, allocations: 86.17 kB / 15.06 MB, free: 1.09 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.001452/0.001452, allocations: 168.7 kB / 15.95 MB, free: 204 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.411/1.411, allocations: 223.3 MB / 240 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.766/2.766, allocations: 437.7 MB / 0.7117 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004152/0.0004154, allocations: 11.94 kB / 0.8722 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.745/0.7454, allocations: 153.8 MB / 1.022 GB, free: 16 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.1714/0.9169, allocations: 146.7 MB / 1.166 GB, free: 12.87 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004993/0.922, allocations: 3.381 MB / 1.169 GB, free: 9.488 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000478/0.9225, allocations: 7.938 kB / 1.169 GB, free: 9.48 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006077/0.9231, allocations: 115.2 kB / 1.169 GB, free: 9.367 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001334/0.9245, allocations: 390.1 kB / 1.169 GB, free: 8.984 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001211/0.9257, allocations: 378 kB / 1.17 GB, free: 8.621 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.00324/0.9289, allocations: 2.987 MB / 1.173 GB, free: 5.621 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00123/0.9302, allocations: 0.6953 MB / 1.173 GB, free: 4.91 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001741/0.9319, allocations: 0.8636 MB / 1.174 GB, free: 4.043 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009441/0.9329, allocations: 0.704 MB / 1.175 GB, free: 3.336 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 8.572e-05/0.933, allocations: 36 kB / 1.175 GB, free: 3.301 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00137/0.9344, allocations: 0.5535 MB / 1.176 GB, free: 2.746 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003248/0.9347, allocations: 282.9 kB / 1.176 GB, free: 2.469 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0003327/0.9351, allocations: 233.1 kB / 1.176 GB, free: 2.234 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001225/0.9363, allocations: 1.021 MB / 1.177 GB, free: 1.211 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.9363, allocations: 0 / 1.177 GB, free: 1.211 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.184e-06/0.9363, allocations: 4 kB / 1.177 GB, free: 1.207 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.538e-05/0.9363, allocations: 3.938 kB / 1.177 GB, free: 1.203 MB / 0.92 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.002048/0.9384, allocations: 1.305 MB / 1.178 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.9384, allocations: 19.95 kB / 1.178 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007875/0.9392, allocations: 182.5 kB / 1.179 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001442/0.9407, allocations: 0.7963 MB / 1.179 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.919e-05/0.9408, allocations: 45 kB / 1.179 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.114e-05/0.9409, allocations: 56 kB / 1.179 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001149/0.942, allocations: 0.8042 MB / 1.18 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.942, allocations: 4 kB / 1.18 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.078e-05/0.9421, allocations: 20 kB / 1.18 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.986e-05/0.9421, allocations: 16 kB / 1.18 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008798/0.943, allocations: 0.5383 MB / 1.181 GB, free: 13.23 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.004009/0.947, allocations: 4.607 MB / 1.185 GB, free: 8.238 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007085/0.9478, allocations: 430.3 kB / 1.186 GB, free: 7.809 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003779/0.9481, allocations: 246.2 kB / 1.186 GB, free: 7.566 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003368/0.9485, allocations: 202.2 kB / 1.186 GB, free: 7.332 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005505/0.949, allocations: 297 kB / 1.186 GB, free: 7.023 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=31): time 2.364e-06/0.9491, allocations: 224 / 1.186 GB, free: 7.023 MB / 0.9356 GB Notification: Performance of matching and sorting (n=31): time 0.003853/0.9529, allocations: 1.343 MB / 1.188 GB, free: 5.652 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.942e-05/0.953, allocations: 92.98 kB / 1.188 GB, free: 5.543 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001483/0.9545, allocations: 1.11 MB / 1.189 GB, free: 4.414 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.369e-05/0.9546, allocations: 37.7 kB / 1.189 GB, free: 4.371 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004624/0.955, allocations: 495.9 kB / 1.189 GB, free: 3.879 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/0.9552, allocations: 114.5 kB / 1.189 GB, free: 3.766 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.285e-05/0.9552, allocations: 8 kB / 1.189 GB, free: 3.758 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.9554, allocations: 325.9 kB / 1.19 GB, free: 3.434 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003487/0.9557, allocations: 188.7 kB / 1.19 GB, free: 3.25 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005619/0.9563, allocations: 0.4997 MB / 1.19 GB, free: 2.621 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004568/0.9568, allocations: 298.8 kB / 1.191 GB, free: 2.324 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.9568, allocations: 0 / 1.191 GB, free: 2.324 MB / 0.9356 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002/0.9588, allocations: 0.9756 MB / 1.192 GB, free: 1.332 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001923/0.959, allocations: 282.5 kB / 1.192 GB, free: 0.9727 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.959, allocations: 8 kB / 1.192 GB, free: 0.9648 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001249/0.9602, allocations: 336.4 kB / 1.192 GB, free: 0.6328 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002324/0.9605, allocations: 59.91 kB / 1.192 GB, free: 0.5742 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001112/0.9616, allocations: 1.014 MB / 1.193 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007798/0.9624, allocations: 103.5 kB / 1.193 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.125e-05/0.9625, allocations: 28 kB / 1.193 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/0.9625, allocations: 4 kB / 1.193 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001304/0.9638, allocations: 0.7317 MB / 1.194 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.9638, allocations: 12 kB / 1.194 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004991/0.9643, allocations: 217.2 kB / 1.194 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002141/0.9646, allocations: 67.83 kB / 1.194 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003884/0.9685, allocations: 3.12 MB / 1.198 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008683/0.9693, allocations: 91.59 kB / 1.198 GB, free: 11 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.226e-05/0.9694, allocations: 24 kB / 1.198 GB, free: 10.98 MB / 0.9512 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 (34): * Single equations (assignments): 32 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 19} Notification: Performance of prepare postOptimizeDAE: time 0.0006572/0.9701, allocations: 465.8 kB / 1.198 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001359/0.9702, allocations: 102.7 kB / 1.198 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001219/0.9714, allocations: 0.7181 MB / 1.199 GB, free: 9.684 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.9714, allocations: 4 kB / 1.199 GB, free: 9.68 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.9715, allocations: 3.938 kB / 1.199 GB, free: 9.676 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.9715, allocations: 0 / 1.199 GB, free: 9.676 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002314/0.9738, allocations: 1.615 MB / 1.2 GB, free: 7.98 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.9738, allocations: 3.938 kB / 1.2 GB, free: 7.977 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/0.9739, allocations: 23.98 kB / 1.2 GB, free: 7.953 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004555/0.9744, allocations: 236.7 kB / 1.201 GB, free: 7.719 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.407e-05/0.9744, allocations: 8 kB / 1.201 GB, free: 7.711 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008534/0.9753, allocations: 0.9717 MB / 1.202 GB, free: 6.715 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.9753, allocations: 7.984 kB / 1.202 GB, free: 6.707 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001202/0.9765, allocations: 0.8448 MB / 1.202 GB, free: 5.82 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003127/0.9768, allocations: 219.8 kB / 1.203 GB, free: 5.586 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.9769, allocations: 12 kB / 1.203 GB, free: 5.574 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004543/0.9774, allocations: 67.73 kB / 1.203 GB, free: 5.508 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.193e-05/0.9775, allocations: 31.95 kB / 1.203 GB, free: 5.477 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.372e-05/0.9775, allocations: 8 kB / 1.203 GB, free: 5.469 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001005/0.9785, allocations: 0.7877 MB / 1.204 GB, free: 4.672 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.553e-06/0.9785, allocations: 0 / 1.204 GB, free: 4.672 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001344/0.9799, allocations: 455.4 kB / 1.204 GB, free: 4.227 MB / 0.9512 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004475/0.9803, allocations: 177.8 kB / 1.204 GB, free: 4.051 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001766/0.9821, allocations: 1.049 MB / 1.205 GB, free: 2.965 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.9821, allocations: 0 / 1.205 GB, free: 2.965 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0004756/0.9826, allocations: 249.2 kB / 1.205 GB, free: 2.723 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001811/0.9844, allocations: 451.9 kB / 1.206 GB, free: 2.285 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002559/0.987, allocations: 1.988 MB / 1.208 GB, free: 248 kB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006609/0.9877, allocations: 1.185 MB / 1.209 GB, free: 15.03 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0008643/0.9886, allocations: 323.6 kB / 1.209 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001122/0.9887, allocations: 59.42 kB / 1.209 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of SimCode: time 6.31e-07/0.9887, allocations: 0 / 1.209 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of Templates: time 0.03142/1.02, allocations: 18.37 MB / 1.227 GB, free: 12.5 MB / 0.9825 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