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.001298/0.001298, allocations: 86.25 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.001566/0.001566, 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.385/1.385, allocations: 223.3 MB / 240 MB, free: 5.309 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.359/2.359, allocations: 390.9 MB / 0.666 GB, free: 2.414 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003756/0.0003756, allocations: 12 kB / 0.8154 GB, free: 13.56 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6704/0.6708, allocations: 142.4 MB / 0.9544 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow): time 0.1595/0.8303, allocations: 146.7 MB / 1.098 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003006/0.8333, allocations: 1.645 MB / 1.099 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002964/0.8337, allocations: 11.94 kB / 1.099 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004909/0.8342, allocations: 111.2 kB / 1.099 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001093/0.8353, allocations: 393.4 kB / 1.1 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009381/0.8362, allocations: 334.5 kB / 1.1 GB, free: 9.871 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002997/0.8392, allocations: 3.007 MB / 1.103 GB, free: 6.852 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002653/0.8419, allocations: 2.145 MB / 1.105 GB, free: 4.691 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001705/0.8436, allocations: 0.8637 MB / 1.106 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008677/0.8445, allocations: 0.704 MB / 1.107 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.943e-05/0.8446, allocations: 32 kB / 1.107 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001196/0.8458, allocations: 0.5652 MB / 1.107 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002682/0.8461, allocations: 278.9 kB / 1.108 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002538/0.8463, allocations: 229.1 kB / 1.108 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001046/0.8474, allocations: 1.033 MB / 1.109 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.8474, allocations: 0 / 1.109 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.946e-06/0.8474, allocations: 3.938 kB / 1.109 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.189e-05/0.8474, allocations: 3.938 kB / 1.109 GB, free: 0.9727 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001962/0.8494, allocations: 1.327 MB / 1.11 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.8495, allocations: 16.03 kB / 1.11 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006985/0.8502, allocations: 178.5 kB / 1.11 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001281/0.8515, allocations: 0.804 MB / 1.111 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.176e-05/0.8515, allocations: 44.98 kB / 1.111 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.127e-05/0.8516, allocations: 56 kB / 1.111 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001158/0.8528, allocations: 0.8331 MB / 1.112 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/0.8528, allocations: 8 kB / 1.112 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.805e-05/0.8529, allocations: 19.94 kB / 1.112 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.521e-05/0.8529, allocations: 16 kB / 1.112 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009091/0.8538, allocations: 0.5657 MB / 1.113 GB, free: 12.92 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.003629/0.8574, allocations: 4.27 MB / 1.117 GB, free: 8.383 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006964/0.8581, allocations: 447.6 kB / 1.117 GB, free: 7.938 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004719/0.8586, allocations: 355.3 kB / 1.118 GB, free: 7.59 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002724/0.8589, allocations: 198.2 kB / 1.118 GB, free: 7.359 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005033/0.8594, allocations: 319.1 kB / 1.118 GB, free: 7.027 MB / 0.8731 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001889/0.8596, allocations: 35.69 kB / 1.118 GB, free: 6.992 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=33): time 1.633e-06/0.8596, allocations: 3.938 kB / 1.118 GB, free: 6.988 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33): time 0.004476/0.8641, allocations: 1.579 MB / 1.12 GB, free: 5.379 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.477e-05/0.8642, allocations: 85.09 kB / 1.12 GB, free: 5.277 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001325/0.8655, allocations: 1.147 MB / 1.121 GB, free: 4.113 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.096e-05/0.8656, allocations: 37.64 kB / 1.121 GB, free: 4.07 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003916/0.866, allocations: 492.5 kB / 1.121 GB, free: 3.586 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 9.446e-05/0.8661, allocations: 118.3 kB / 1.121 GB, free: 3.469 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.646e-05/0.8661, allocations: 12 kB / 1.121 GB, free: 3.457 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.8662, allocations: 326 kB / 1.122 GB, free: 3.133 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004222/0.8666, allocations: 209 kB / 1.122 GB, free: 2.93 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005995/0.8672, allocations: 0.515 MB / 1.122 GB, free: 2.277 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004741/0.8677, allocations: 315.2 kB / 1.123 GB, free: 1.965 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.8677, allocations: 0 / 1.123 GB, free: 1.965 MB / 0.8731 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002176/0.8699, allocations: 1.061 MB / 1.124 GB, free: 0.8867 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001821/0.8701, allocations: 279.1 kB / 1.124 GB, free: 0.5312 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/0.8701, allocations: 8 kB / 1.124 GB, free: 0.5234 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00135/0.8715, allocations: 395 kB / 1.124 GB, free: 140 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003484/0.8719, allocations: 103.9 kB / 1.125 GB, free: 36 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001321/0.8732, allocations: 1.105 MB / 1.126 GB, free: 14.91 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007882/0.874, allocations: 87.84 kB / 1.126 GB, free: 14.82 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.232e-05/0.874, allocations: 27.94 kB / 1.126 GB, free: 14.79 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 9.868e-06/0.8741, allocations: 9.203 kB / 1.126 GB, free: 14.79 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001364/0.8754, allocations: 0.7903 MB / 1.126 GB, free: 13.98 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.8755, allocations: 11.98 kB / 1.126 GB, free: 13.97 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005213/0.876, allocations: 237.6 kB / 1.127 GB, free: 13.74 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003186/0.8763, allocations: 99.86 kB / 1.127 GB, free: 13.64 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003643/0.88, allocations: 3.08 MB / 1.13 GB, free: 10.43 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007841/0.8808, allocations: 83.91 kB / 1.13 GB, free: 10.35 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.938e-05/0.8808, allocations: 24 kB / 1.13 GB, free: 10.32 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_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * 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 (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 {10 11} Notification: Performance of prepare postOptimizeDAE: time 0.0005169/0.8813, allocations: 476.6 kB / 1.13 GB, free: 9.848 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001231/0.8815, allocations: 102.7 kB / 1.13 GB, free: 9.746 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001349/0.8828, allocations: 0.7813 MB / 1.131 GB, free: 8.957 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.8828, allocations: 8 kB / 1.131 GB, free: 8.949 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.8829, allocations: 0 / 1.131 GB, free: 8.949 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.307e-06/0.8829, allocations: 3.984 kB / 1.131 GB, free: 8.945 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002497/0.8854, allocations: 1.742 MB / 1.133 GB, free: 7.125 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.8854, allocations: 0 / 1.133 GB, free: 7.125 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002272/0.8856, allocations: 63.94 kB / 1.133 GB, free: 7.062 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004978/0.8861, allocations: 262.9 kB / 1.133 GB, free: 6.805 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.75e-05/0.8862, allocations: 12 kB / 1.133 GB, free: 6.793 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009702/0.8871, allocations: 1.04 MB / 1.134 GB, free: 5.727 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.8872, allocations: 4.031 kB / 1.134 GB, free: 5.723 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001289/0.8884, allocations: 0.9129 MB / 1.135 GB, free: 4.77 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003629/0.8888, allocations: 231.7 kB / 1.135 GB, free: 4.523 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/0.8889, allocations: 11.98 kB / 1.135 GB, free: 4.512 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000572/0.8895, allocations: 59.88 kB / 1.135 GB, free: 4.453 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.663e-05/0.8896, allocations: 35.84 kB / 1.136 GB, free: 4.418 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.537e-05/0.8896, allocations: 11.98 kB / 1.136 GB, free: 4.406 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001008/0.8907, allocations: 0.8119 MB / 1.136 GB, free: 3.586 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.71e-07/0.8907, allocations: 0 / 1.136 GB, free: 3.586 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001242/0.8919, allocations: 479.4 kB / 1.137 GB, free: 3.117 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_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 (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 {10 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.000364/0.8923, allocations: 174.8 kB / 1.137 GB, free: 2.945 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002439/0.8947, allocations: 1.257 MB / 1.138 GB, free: 1.652 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.8948, allocations: 0 / 1.138 GB, free: 1.652 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0006378/0.8954, allocations: 311.7 kB / 1.138 GB, free: 1.348 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002837/0.8982, allocations: 0.6347 MB / 1.139 GB, free: 0.7188 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002977/0.9012, allocations: 2.084 MB / 1.141 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000698/0.902, allocations: 1.189 MB / 1.142 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0009616/0.9029, allocations: 344.1 kB / 1.143 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001305/0.9031, allocations: 59.44 kB / 1.143 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of SimCode: time 9.42e-07/0.9031, allocations: 0 / 1.143 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of Templates: time 0.03427/0.9373, allocations: 20.42 MB / 1.163 GB, free: 8.758 MB / 0.92 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/jenkins/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