Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.SeriesDpOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_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_9_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.0009948/0.0009945, allocations: 88.53 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 183 kB / 16.92 MB, free: 6.922 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.389/1.389, allocations: 223.3 MB / 241 MB, free: 5.344 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.478/2.478, allocations: 390.9 MB / 0.667 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003925/0.0003925, allocations: 12 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7595/0.7599, allocations: 142.4 MB / 0.9557 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.1915/0.9515, allocations: 157.3 MB / 1.109 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.006398/0.9579, allocations: 3.58 MB / 1.113 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006449/0.9586, allocations: 11.94 kB / 1.113 GB, free: 13.9 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.000782/0.9594, allocations: 139.2 kB / 1.113 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.00182/0.9613, allocations: 0.4941 MB / 1.113 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001498/0.9628, allocations: 388.4 kB / 1.114 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.00409/0.9669, allocations: 3.488 MB / 1.117 GB, free: 9.395 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001464/0.9684, allocations: 0.7621 MB / 1.118 GB, free: 8.625 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002203/0.9706, allocations: 0.9102 MB / 1.119 GB, free: 7.711 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001514/0.9722, allocations: 0.7155 MB / 1.12 GB, free: 6.992 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002383/0.9724, allocations: 36 kB / 1.12 GB, free: 6.957 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001976/0.9744, allocations: 0.799 MB / 1.12 GB, free: 6.156 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0004995/0.9749, allocations: 278.9 kB / 1.121 GB, free: 5.883 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001244/0.9762, allocations: 0.5339 MB / 1.121 GB, free: 5.34 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001673/0.9779, allocations: 1.009 MB / 1.122 GB, free: 4.328 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.9779, allocations: 0 / 1.122 GB, free: 4.328 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.354e-06/0.9779, allocations: 0 / 1.122 GB, free: 4.328 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 5.413e-05/0.978, allocations: 4 kB / 1.122 GB, free: 4.324 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.002827/0.9808, allocations: 1.252 MB / 1.123 GB, free: 3.012 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.391e-05/0.9808, allocations: 12.02 kB / 1.123 GB, free: 3 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009801/0.9818, allocations: 194.4 kB / 1.124 GB, free: 2.809 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00142/0.9833, allocations: 0.7984 MB / 1.124 GB, free: 1.953 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.35e-05/0.9833, allocations: 45 kB / 1.124 GB, free: 1.906 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.793e-05/0.9834, allocations: 63.92 kB / 1.124 GB, free: 1.844 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001257/0.9847, allocations: 0.7941 MB / 1.125 GB, free: 0.9766 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.9847, allocations: 4 kB / 1.125 GB, free: 0.9727 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.612e-05/0.9848, allocations: 20 kB / 1.125 GB, free: 0.9531 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.931e-05/0.9848, allocations: 19.94 kB / 1.125 GB, free: 0.9336 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009098/0.9857, allocations: 0.5423 MB / 1.126 GB, free: 400 kB / 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.004961/0.9907, allocations: 4.595 MB / 1.13 GB, free: 11.41 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007779/0.9915, allocations: 430.3 kB / 1.131 GB, free: 10.98 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004231/0.992, allocations: 260.6 kB / 1.131 GB, free: 10.73 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003184/0.9923, allocations: 194.2 kB / 1.131 GB, free: 10.5 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005173/0.9928, allocations: 301.6 kB / 1.131 GB, free: 10.19 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=31): time 2.755e-06/0.9928, allocations: 0 / 1.131 GB, free: 10.19 MB / 0.8887 GB Notification: Performance of matching and sorting (n=31): time 0.004149/0.997, allocations: 1.359 MB / 1.133 GB, free: 8.801 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.163e-05/0.9971, allocations: 85.05 kB / 1.133 GB, free: 8.699 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001535/0.9986, allocations: 1.114 MB / 1.134 GB, free: 7.566 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 8.94e-05/0.9987, allocations: 37.7 kB / 1.134 GB, free: 7.523 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004526/0.9992, allocations: 492.2 kB / 1.134 GB, free: 7.035 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001083/0.9993, allocations: 114.4 kB / 1.135 GB, free: 6.922 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.833e-05/0.9994, allocations: 45.7 kB / 1.135 GB, free: 6.871 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.9995, allocations: 326 kB / 1.135 GB, free: 6.547 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003911/0.9999, allocations: 212.7 kB / 1.135 GB, free: 6.336 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006559/1.001, allocations: 0.5253 MB / 1.136 GB, free: 5.68 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009493/1.002, allocations: 0.6392 MB / 1.136 GB, free: 4.961 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/1.002, allocations: 4 kB / 1.136 GB, free: 4.957 MB / 0.8887 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002473/1.004, allocations: 1.047 MB / 1.137 GB, free: 3.895 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002353/1.004, allocations: 278.8 kB / 1.138 GB, free: 3.539 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/1.004, allocations: 8.281 kB / 1.138 GB, free: 3.531 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001411/1.006, allocations: 365.8 kB / 1.138 GB, free: 3.172 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002409/1.006, allocations: 55.91 kB / 1.138 GB, free: 3.117 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001107/1.007, allocations: 1.017 MB / 1.139 GB, free: 2.074 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008638/1.008, allocations: 99.44 kB / 1.139 GB, free: 1.977 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.985e-05/1.008, allocations: 27.98 kB / 1.139 GB, free: 1.949 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/1.008, allocations: 4 kB / 1.139 GB, free: 1.945 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001414/1.009, allocations: 0.72 MB / 1.14 GB, free: 1.215 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/1.01, allocations: 8 kB / 1.14 GB, free: 1.207 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005234/1.01, allocations: 215 kB / 1.14 GB, free: 0.9961 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002045/1.01, allocations: 63.84 kB / 1.14 GB, free: 0.9336 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00403/1.014, allocations: 3.08 MB / 1.143 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001077/1.015, allocations: 95.61 kB / 1.143 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.101e-05/1.015, allocations: 27.94 kB / 1.143 GB, free: 13.57 MB / 0.9044 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.0007976/1.016, allocations: 456.8 kB / 1.144 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001698/1.016, allocations: 102.7 kB / 1.144 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00152/1.018, allocations: 0.7334 MB / 1.144 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/1.018, allocations: 4 kB / 1.144 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/1.018, allocations: 4 kB / 1.144 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/1.018, allocations: 3.984 kB / 1.144 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002704/1.021, allocations: 1.62 MB / 1.146 GB, free: 10.56 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/1.021, allocations: 0 / 1.146 GB, free: 10.56 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001145/1.021, allocations: 23.98 kB / 1.146 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004815/1.021, allocations: 238.8 kB / 1.146 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.527e-05/1.021, allocations: 8 kB / 1.146 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009367/1.022, allocations: 0.9776 MB / 1.147 GB, free: 9.293 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/1.022, allocations: 3.938 kB / 1.147 GB, free: 9.289 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001275/1.024, allocations: 0.8485 MB / 1.148 GB, free: 8.398 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003585/1.024, allocations: 215.8 kB / 1.148 GB, free: 8.168 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.668e-05/1.024, allocations: 8 kB / 1.148 GB, free: 8.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004821/1.025, allocations: 51.89 kB / 1.148 GB, free: 8.109 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.644e-05/1.025, allocations: 31.84 kB / 1.148 GB, free: 8.078 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.804e-05/1.025, allocations: 15.98 kB / 1.148 GB, free: 8.062 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001063/1.026, allocations: 0.7916 MB / 1.149 GB, free: 7.262 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.8e-07/1.026, allocations: 0 / 1.149 GB, free: 7.262 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001561/1.027, allocations: 435.4 kB / 1.15 GB, free: 6.836 MB / 0.9044 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.0006143/1.028, allocations: 188.9 kB / 1.15 GB, free: 6.652 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001995/1.03, allocations: 1.075 MB / 1.151 GB, free: 5.543 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/1.03, allocations: 3.938 kB / 1.151 GB, free: 5.539 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0004851/1.031, allocations: 235 kB / 1.151 GB, free: 5.309 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002284/1.033, allocations: 461.8 kB / 1.151 GB, free: 4.863 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003124/1.036, allocations: 2.109 MB / 1.153 GB, free: 2.691 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008228/1.037, allocations: 1.181 MB / 1.155 GB, free: 1.48 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001532/1.037, allocations: 59.44 kB / 1.155 GB, free: 1.422 MB / 0.9044 GB Notification: Performance of SimCode: time 9.92e-07/1.037, allocations: 0 / 1.155 GB, free: 1.422 MB / 0.9044 GB Notification: Performance of Templates: time 0.03016/1.067, allocations: 20.22 MB / 1.174 GB, free: 13.29 MB / 0.9356 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches