Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.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.SeriesDp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009855/0.0009854, 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.001177/0.001177, 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.365/1.365, allocations: 223.3 MB / 240 MB, free: 5.414 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.48 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004231/0.000424, allocations: 12 kB / 0.8153 GB, free: 13.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6711/0.6715, allocations: 142.4 MB / 0.9544 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.1578/0.8294, allocations: 146.7 MB / 1.098 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004842/0.8343, allocations: 3.364 MB / 1.101 GB, free: 9.145 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004327/0.8348, allocations: 7.938 kB / 1.101 GB, free: 9.137 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000509/0.8353, allocations: 115.2 kB / 1.101 GB, free: 9.023 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001231/0.8365, allocations: 386.2 kB / 1.102 GB, free: 8.645 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001136/0.8377, allocations: 383.2 kB / 1.102 GB, free: 8.273 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003067/0.8407, allocations: 3.001 MB / 1.105 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001078/0.8418, allocations: 0.6915 MB / 1.105 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001481/0.8433, allocations: 0.8675 MB / 1.106 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008145/0.8442, allocations: 0.7079 MB / 1.107 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.133e-05/0.8443, allocations: 39.94 kB / 1.107 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001167/0.8454, allocations: 0.5535 MB / 1.108 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002839/0.8457, allocations: 282.9 kB / 1.108 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002825/0.846, allocations: 229.1 kB / 1.108 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001058/0.8471, allocations: 1.017 MB / 1.109 GB, free: 0.8594 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.8471, allocations: 0 / 1.109 GB, free: 0.8594 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.583e-06/0.8471, allocations: 4 kB / 1.109 GB, free: 0.8555 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.084e-05/0.8471, allocations: 0 / 1.109 GB, free: 0.8555 MB / 0.8575 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.001933/0.8491, allocations: 1.307 MB / 1.11 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.8491, allocations: 8.031 kB / 1.11 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007123/0.8498, allocations: 194.4 kB / 1.111 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001278/0.8511, allocations: 0.7963 MB / 1.111 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.978e-05/0.8512, allocations: 45 kB / 1.111 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.862e-05/0.8513, allocations: 60 kB / 1.111 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001161/0.8524, allocations: 0.7888 MB / 1.112 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.8525, allocations: 7.938 kB / 1.112 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.092e-05/0.8525, allocations: 24 kB / 1.112 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.777e-05/0.8525, allocations: 19.98 kB / 1.112 GB, free: 13.42 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008858/0.8534, allocations: 0.5383 MB / 1.113 GB, free: 12.88 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.003789/0.8572, allocations: 4.595 MB / 1.117 GB, free: 7.902 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007084/0.858, allocations: 446.2 kB / 1.118 GB, free: 7.457 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003833/0.8583, allocations: 252.6 kB / 1.118 GB, free: 7.207 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002973/0.8587, allocations: 202.2 kB / 1.118 GB, free: 6.973 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005028/0.8592, allocations: 305.5 kB / 1.118 GB, free: 6.656 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=31): time 2.154e-06/0.8592, allocations: 4 kB / 1.118 GB, free: 6.652 MB / 0.8731 GB Notification: Performance of matching and sorting (n=31): time 0.004697/0.8639, allocations: 1.656 MB / 1.12 GB, free: 4.969 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/0.8639, allocations: 85.09 kB / 1.12 GB, free: 4.867 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001318/0.8653, allocations: 1.106 MB / 1.121 GB, free: 3.742 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.571e-05/0.8653, allocations: 45.69 kB / 1.121 GB, free: 3.691 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003983/0.8657, allocations: 496 kB / 1.122 GB, free: 3.199 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 9.146e-05/0.8658, allocations: 110.5 kB / 1.122 GB, free: 3.09 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.356e-05/0.8659, allocations: 8 kB / 1.122 GB, free: 3.082 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.866, allocations: 326 kB / 1.122 GB, free: 2.758 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003316/0.8663, allocations: 192.7 kB / 1.122 GB, free: 2.566 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005574/0.8669, allocations: 0.494 MB / 1.123 GB, free: 1.941 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004362/0.8673, allocations: 294.3 kB / 1.123 GB, free: 1.648 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.8674, allocations: 4 kB / 1.123 GB, free: 1.645 MB / 0.8731 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002015/0.8694, allocations: 0.9806 MB / 1.124 GB, free: 0.6484 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.000165/0.8696, allocations: 275.9 kB / 1.124 GB, free: 304 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.8696, allocations: 12 kB / 1.124 GB, free: 292 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001181/0.8708, allocations: 350.2 kB / 1.125 GB, free: 15.94 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002284/0.871, allocations: 71.84 kB / 1.125 GB, free: 15.87 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001313/0.8723, allocations: 1.092 MB / 1.126 GB, free: 14.75 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006984/0.873, allocations: 107.4 kB / 1.126 GB, free: 14.65 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.155e-05/0.8731, allocations: 23.98 kB / 1.126 GB, free: 14.62 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 9.367e-06/0.8731, allocations: 4.109 kB / 1.126 GB, free: 14.62 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001309/0.8744, allocations: 0.7395 MB / 1.127 GB, free: 13.87 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.8745, allocations: 4 kB / 1.127 GB, free: 13.87 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005189/0.875, allocations: 227.2 kB / 1.127 GB, free: 13.64 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002023/0.8752, allocations: 59.91 kB / 1.127 GB, free: 13.59 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00347/0.8787, allocations: 3.042 MB / 1.13 GB, free: 10.41 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006832/0.8794, allocations: 95.67 kB / 1.13 GB, free: 10.31 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.775e-05/0.8794, allocations: 20 kB / 1.13 GB, free: 10.29 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 (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 {9 11} Notification: Performance of prepare postOptimizeDAE: time 0.0005377/0.88, allocations: 468.6 kB / 1.13 GB, free: 9.824 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/0.8801, allocations: 106.7 kB / 1.131 GB, free: 9.719 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001246/0.8814, allocations: 0.7065 MB / 1.131 GB, free: 8.996 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.8814, allocations: 4 kB / 1.131 GB, free: 8.992 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.8814, allocations: 0 / 1.131 GB, free: 8.992 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-06/0.8814, allocations: 7.984 kB / 1.131 GB, free: 8.984 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002302/0.8837, allocations: 1.627 MB / 1.133 GB, free: 7.277 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.978e-06/0.8837, allocations: 4 kB / 1.133 GB, free: 7.273 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001253/0.8839, allocations: 32.14 kB / 1.133 GB, free: 7.242 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004737/0.8843, allocations: 234.6 kB / 1.133 GB, free: 7.012 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.078e-05/0.8844, allocations: 11.98 kB / 1.133 GB, free: 7 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009859/0.8854, allocations: 1.032 MB / 1.134 GB, free: 5.941 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.8854, allocations: 4 kB / 1.134 GB, free: 5.938 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001206/0.8866, allocations: 0.843 MB / 1.135 GB, free: 5.055 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003316/0.8869, allocations: 227.7 kB / 1.135 GB, free: 4.812 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/0.8871, allocations: 8 kB / 1.135 GB, free: 4.805 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000488/0.8875, allocations: 55.8 kB / 1.135 GB, free: 4.75 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.912e-05/0.8876, allocations: 31.95 kB / 1.135 GB, free: 4.719 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.581e-05/0.8877, allocations: 12 kB / 1.135 GB, free: 4.707 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001009/0.8887, allocations: 0.7877 MB / 1.136 GB, free: 3.91 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8887, allocations: 0 / 1.136 GB, free: 3.91 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001295/0.89, allocations: 451.4 kB / 1.136 GB, free: 3.469 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 (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 {9 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004336/0.8904, allocations: 182.2 kB / 1.137 GB, free: 3.293 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002497/0.893, allocations: 1.205 MB / 1.138 GB, free: 2.051 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.893, allocations: 0 / 1.138 GB, free: 2.051 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.000603/0.8936, allocations: 284.1 kB / 1.138 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002092/0.8957, allocations: 459.1 kB / 1.139 GB, free: 1.328 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003341/0.899, allocations: 1.998 MB / 1.14 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008035/0.8999, allocations: 1.185 MB / 1.142 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001024/0.9009, allocations: 311.6 kB / 1.142 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001508/0.9011, allocations: 63.42 kB / 1.142 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of SimCode: time 1.051e-06/0.9011, allocations: 0 / 1.142 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of Templates: time 0.03076/0.9319, allocations: 17.94 MB / 1.16 GB, free: 11.93 MB / 0.92 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches