Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.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.ParallelFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 92.39 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.00162/0.00162, allocations: 180.4 kB / 16.92 MB, free: 6.652 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.386/1.386, allocations: 223.3 MB / 241 MB, free: 5.27 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.387/2.387, allocations: 390.9 MB / 0.667 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003578/0.000358, allocations: 8 kB / 0.8166 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7536/0.754, allocations: 142.4 MB / 0.9557 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow): time 0.1666/0.9206, allocations: 157.3 MB / 1.109 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003129/0.9238, allocations: 1.76 MB / 1.111 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003413/0.9241, allocations: 7.938 kB / 1.111 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0005294/0.9247, allocations: 139.2 kB / 1.111 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001262/0.926, allocations: 498 kB / 1.112 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009783/0.9269, allocations: 344.2 kB / 1.112 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003207/0.9302, allocations: 3.508 MB / 1.115 GB, free: 11.25 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002585/0.9328, allocations: 2.226 MB / 1.118 GB, free: 9.008 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001806/0.9346, allocations: 0.8908 MB / 1.118 GB, free: 8.113 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000875/0.9355, allocations: 0.7155 MB / 1.119 GB, free: 7.395 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 8.087e-05/0.9356, allocations: 39.94 kB / 1.119 GB, free: 7.355 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001474/0.9371, allocations: 0.7951 MB / 1.12 GB, free: 6.559 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002885/0.9374, allocations: 278.9 kB / 1.12 GB, free: 6.285 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0006005/0.938, allocations: 0.53 MB / 1.121 GB, free: 5.746 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001064/0.939, allocations: 1.017 MB / 1.122 GB, free: 4.727 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.939, allocations: 0 / 1.122 GB, free: 4.727 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.314e-06/0.9391, allocations: 0 / 1.122 GB, free: 4.727 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.139e-05/0.9391, allocations: 4 kB / 1.122 GB, free: 4.723 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001998/0.9411, allocations: 1.291 MB / 1.123 GB, free: 3.371 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.9411, allocations: 12.03 kB / 1.123 GB, free: 3.359 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007284/0.9419, allocations: 182.5 kB / 1.123 GB, free: 3.18 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001085/0.943, allocations: 0.806 MB / 1.124 GB, free: 2.316 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.06e-05/0.943, allocations: 49 kB / 1.124 GB, free: 2.266 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.136e-05/0.9431, allocations: 60 kB / 1.124 GB, free: 2.207 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001175/0.9443, allocations: 0.8278 MB / 1.125 GB, free: 1.305 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.9443, allocations: 7.938 kB / 1.125 GB, free: 1.297 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.643e-05/0.9444, allocations: 27.98 kB / 1.125 GB, free: 1.27 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.912e-05/0.9444, allocations: 16 kB / 1.125 GB, free: 1.254 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009379/0.9454, allocations: 0.5696 MB / 1.125 GB, free: 0.6836 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.003857/0.9492, allocations: 4.262 MB / 1.13 GB, free: 12.15 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007683/0.95, allocations: 451.3 kB / 1.13 GB, free: 11.7 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005044/0.9505, allocations: 350.8 kB / 1.13 GB, free: 11.36 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002941/0.9508, allocations: 194.2 kB / 1.131 GB, free: 11.13 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005176/0.9514, allocations: 323.1 kB / 1.131 GB, free: 10.8 MB / 0.8887 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000245/0.9516, allocations: 39.53 kB / 1.131 GB, free: 10.76 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=33): time 2.134e-06/0.9516, allocations: 0 / 1.131 GB, free: 10.76 MB / 0.8887 GB Notification: Performance of matching and sorting (n=33): time 0.005074/0.9567, allocations: 1.594 MB / 1.133 GB, free: 9.133 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.451e-05/0.9568, allocations: 89.09 kB / 1.133 GB, free: 9.027 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001486/0.9583, allocations: 1.143 MB / 1.134 GB, free: 7.867 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 6.352e-05/0.9584, allocations: 41.7 kB / 1.134 GB, free: 7.82 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.000435/0.9588, allocations: 488.4 kB / 1.134 GB, free: 7.34 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001079/0.9589, allocations: 118.3 kB / 1.134 GB, free: 7.223 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.159e-05/0.959, allocations: 45.69 kB / 1.134 GB, free: 7.172 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.9591, allocations: 326 kB / 1.135 GB, free: 6.848 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004053/0.9595, allocations: 236.9 kB / 1.135 GB, free: 6.617 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006787/0.9602, allocations: 0.5431 MB / 1.135 GB, free: 5.941 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000983/0.9612, allocations: 0.688 MB / 1.136 GB, free: 5.176 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.9612, allocations: 112 / 1.136 GB, free: 5.176 MB / 0.8887 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002471/0.9637, allocations: 1.134 MB / 1.137 GB, free: 4.023 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002278/0.964, allocations: 275.2 kB / 1.137 GB, free: 3.672 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/0.964, allocations: 8 kB / 1.137 GB, free: 3.664 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001502/0.9655, allocations: 426.2 kB / 1.138 GB, free: 3.246 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004047/0.9659, allocations: 107.8 kB / 1.138 GB, free: 3.141 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001469/0.9674, allocations: 1.1 MB / 1.139 GB, free: 2.016 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009902/0.9684, allocations: 83.81 kB / 1.139 GB, free: 1.934 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.816e-05/0.9685, allocations: 24 kB / 1.139 GB, free: 1.91 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.9685, allocations: 1.875 kB / 1.139 GB, free: 1.91 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001493/0.97, allocations: 0.7908 MB / 1.14 GB, free: 1.109 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.97, allocations: 4 kB / 1.14 GB, free: 1.105 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005524/0.9706, allocations: 232 kB / 1.14 GB, free: 0.8789 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003559/0.9709, allocations: 99.92 kB / 1.14 GB, free: 0.7812 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003739/0.9747, allocations: 3.05 MB / 1.143 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009743/0.9757, allocations: 75.97 kB / 1.143 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.521e-05/0.9757, allocations: 24 kB / 1.143 GB, free: 13.5 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_m_flow.count,$PRE.pulse_m_flow.count,pulse_m_flow.T_start,$PRE.pulse_m_flow.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * 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 {(10,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0006149/0.9764, allocations: 468.7 kB / 1.144 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001516/0.9765, allocations: 102.7 kB / 1.144 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001399/0.9779, allocations: 0.7968 MB / 1.145 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.9779, allocations: 4 kB / 1.145 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.9779, allocations: 0 / 1.145 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.978, allocations: 3.984 kB / 1.145 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002525/0.9805, allocations: 1.746 MB / 1.146 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.9805, allocations: 4 kB / 1.146 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002594/0.9808, allocations: 60.11 kB / 1.146 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005283/0.9813, allocations: 275.5 kB / 1.147 GB, free: 9.957 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.487e-05/0.9814, allocations: 8 kB / 1.147 GB, free: 9.949 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001017/0.9824, allocations: 1.046 MB / 1.148 GB, free: 8.879 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.9824, allocations: 0 / 1.148 GB, free: 8.879 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001395/0.9838, allocations: 0.9167 MB / 1.149 GB, free: 7.922 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004102/0.9842, allocations: 223.8 kB / 1.149 GB, free: 7.684 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001259/0.9843, allocations: 11.94 kB / 1.149 GB, free: 7.672 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006082/0.985, allocations: 63.83 kB / 1.149 GB, free: 7.609 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.944e-05/0.9851, allocations: 27.97 kB / 1.149 GB, free: 7.582 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.947e-05/0.9851, allocations: 12 kB / 1.149 GB, free: 7.57 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001053/0.9862, allocations: 0.8196 MB / 1.15 GB, free: 6.742 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9862, allocations: 0 / 1.15 GB, free: 6.742 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001295/0.9875, allocations: 463.5 kB / 1.15 GB, free: 6.289 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_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * 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 {(10,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004544/0.9879, allocations: 174.5 kB / 1.15 GB, free: 6.113 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002607/0.9905, allocations: 1.284 MB / 1.152 GB, free: 4.797 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.9906, allocations: 0 / 1.152 GB, free: 4.797 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.000671/0.9912, allocations: 304.2 kB / 1.152 GB, free: 4.5 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003605/0.9949, allocations: 0.6258 MB / 1.153 GB, free: 3.883 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003716/0.9986, allocations: 2.243 MB / 1.155 GB, free: 1.586 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008935/0.9995, allocations: 1.181 MB / 1.156 GB, free: 380 kB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001786/0.9997, allocations: 67.44 kB / 1.156 GB, free: 316 kB / 0.9044 GB Notification: Performance of SimCode: time 5.92e-07/0.9997, allocations: 0 / 1.156 GB, free: 316 kB / 0.9044 GB Notification: Performance of Templates: time 0.03255/1.032, allocations: 21.68 MB / 1.177 GB, free: 10.72 MB / 0.9356 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches