Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001283/0.001283, allocations: 100.5 kB / 15.05 MB, free: 1.105 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.001453/0.001453, allocations: 177.3 kB / 15.94 MB, free: 228 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.343/1.343, allocations: 223.2 MB / 239.9 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.573/2.573, allocations: 436.5 MB / 0.7104 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003324/0.0003325, allocations: 11.94 kB / 0.8708 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.639/0.6393, allocations: 153.6 MB / 1.021 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow): time 0.144/0.7834, allocations: 135.7 MB / 1.153 GB, free: 9.027 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.002792/0.7862, allocations: 1.692 MB / 1.155 GB, free: 7.332 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002996/0.7865, allocations: 11.88 kB / 1.155 GB, free: 7.32 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0005884/0.7871, allocations: 175.2 kB / 1.155 GB, free: 7.148 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001294/0.7884, allocations: 0.5024 MB / 1.156 GB, free: 6.645 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001085/0.7895, allocations: 416.9 kB / 1.156 GB, free: 6.242 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001853/0.7914, allocations: 1.503 MB / 1.158 GB, free: 4.738 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002887/0.7943, allocations: 2.184 MB / 1.16 GB, free: 2.543 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001425/0.7957, allocations: 0.6968 MB / 1.16 GB, free: 1.844 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006034/0.7963, allocations: 0.49 MB / 1.161 GB, free: 1.352 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 7.473e-05/0.7964, allocations: 32 kB / 1.161 GB, free: 1.32 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009277/0.7974, allocations: 415.4 kB / 1.161 GB, free: 0.9141 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002452/0.7976, allocations: 251.1 kB / 1.161 GB, free: 0.668 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002389/0.7979, allocations: 233.1 kB / 1.162 GB, free: 444 kB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.000981/0.7988, allocations: 0.99 MB / 1.163 GB, free: 15.44 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.7989, allocations: 0 / 1.163 GB, free: 15.44 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.533e-06/0.7989, allocations: 4 kB / 1.163 GB, free: 15.43 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.275e-05/0.7989, allocations: 0 / 1.163 GB, free: 15.43 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002182/0.8011, allocations: 1.311 MB / 1.164 GB, free: 14.07 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.8011, allocations: 8.031 kB / 1.164 GB, free: 14.06 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007762/0.8019, allocations: 190.4 kB / 1.164 GB, free: 13.87 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001564/0.8035, allocations: 0.7924 MB / 1.165 GB, free: 13.02 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.236e-05/0.8035, allocations: 49 kB / 1.165 GB, free: 12.97 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.317e-05/0.8036, allocations: 56 kB / 1.165 GB, free: 12.92 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001254/0.8049, allocations: 0.8315 MB / 1.166 GB, free: 12.01 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.8049, allocations: 3.938 kB / 1.166 GB, free: 12.01 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.03e-05/0.805, allocations: 27.95 kB / 1.166 GB, free: 11.98 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.65e-05/0.805, allocations: 12 kB / 1.166 GB, free: 11.97 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000996/0.806, allocations: 0.5735 MB / 1.166 GB, free: 11.39 MB / 0.92 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.004423/0.8105, allocations: 4.247 MB / 1.171 GB, free: 6.883 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008099/0.8113, allocations: 462.7 kB / 1.171 GB, free: 6.422 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 6.256e-05/0.8114, allocations: 8.109 kB / 1.171 GB, free: 6.414 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005564/0.8119, allocations: 340.4 kB / 1.171 GB, free: 6.059 MB / 0.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002615/0.8122, allocations: 35.59 kB / 1.171 GB, free: 6.023 MB / 0.92 GB Notification: Performance of pre-optimization done (n=33): time 1.843e-06/0.8122, allocations: 0 / 1.171 GB, free: 6.023 MB / 0.92 GB Notification: Performance of matching and sorting (n=33): time 0.004842/0.817, allocations: 1.567 MB / 1.173 GB, free: 4.426 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.437e-05/0.8171, allocations: 106.8 kB / 1.173 GB, free: 4.297 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001415/0.8186, allocations: 1.151 MB / 1.174 GB, free: 3.129 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 6.458e-05/0.8186, allocations: 37.7 kB / 1.174 GB, free: 3.086 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003894/0.819, allocations: 484.4 kB / 1.175 GB, free: 2.609 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.000108/0.8191, allocations: 114.4 kB / 1.175 GB, free: 2.496 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.749e-05/0.8192, allocations: 12 kB / 1.175 GB, free: 2.484 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.8193, allocations: 330 kB / 1.175 GB, free: 2.156 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00038/0.8197, allocations: 205 kB / 1.175 GB, free: 1.953 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005998/0.8203, allocations: 0.5111 MB / 1.176 GB, free: 1.312 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004935/0.8208, allocations: 321.6 kB / 1.176 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.8208, allocations: 0 / 1.176 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002571/0.8234, allocations: 1.054 MB / 1.177 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008922/0.8243, allocations: 2.14 MB / 1.179 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.8243, allocations: 4 kB / 1.179 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001468/0.8258, allocations: 403.8 kB / 1.18 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000395/0.8262, allocations: 103.8 kB / 1.18 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001493/0.8277, allocations: 1.104 MB / 1.181 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009801/0.8287, allocations: 87.75 kB / 1.181 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-05/0.8288, allocations: 31.97 kB / 1.181 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.8288, allocations: 10.34 kB / 1.181 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001526/0.8303, allocations: 0.7867 MB / 1.182 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.8304, allocations: 8 kB / 1.182 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000597/0.831, allocations: 241 kB / 1.182 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003761/0.8314, allocations: 99.75 kB / 1.182 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003963/0.8353, allocations: 3.123 MB / 1.185 GB, free: 7.461 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009241/0.8363, allocations: 91.77 kB / 1.185 GB, free: 7.371 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.303e-05/0.8363, allocations: 24 kB / 1.185 GB, free: 7.348 MB / 0.9356 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.0005676/0.8369, allocations: 471.9 kB / 1.186 GB, free: 6.879 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001782/0.8371, allocations: 110.7 kB / 1.186 GB, free: 6.77 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001385/0.8385, allocations: 0.7584 MB / 1.186 GB, free: 6.004 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.8385, allocations: 11.89 kB / 1.186 GB, free: 5.992 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.8385, allocations: 0 / 1.186 GB, free: 5.992 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.8385, allocations: 0 / 1.186 GB, free: 5.992 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001691/0.8402, allocations: 1.158 MB / 1.188 GB, free: 4.758 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.8402, allocations: 0 / 1.188 GB, free: 4.758 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002717/0.8405, allocations: 72.03 kB / 1.188 GB, free: 4.688 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005513/0.8411, allocations: 271.5 kB / 1.188 GB, free: 4.422 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.903e-05/0.8411, allocations: 11.98 kB / 1.188 GB, free: 4.41 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001059/0.8422, allocations: 1.044 MB / 1.189 GB, free: 3.34 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.8422, allocations: 4 kB / 1.189 GB, free: 3.336 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001382/0.8436, allocations: 0.9132 MB / 1.19 GB, free: 2.344 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004405/0.844, allocations: 235.8 kB / 1.19 GB, free: 2.094 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001375/0.8442, allocations: 11.98 kB / 1.19 GB, free: 2.082 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006547/0.8448, allocations: 63.86 kB / 1.19 GB, free: 2.02 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.19e-05/0.8449, allocations: 35.95 kB / 1.19 GB, free: 1.984 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.607e-05/0.845, allocations: 8 kB / 1.19 GB, free: 1.977 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001065/0.846, allocations: 0.8119 MB / 1.191 GB, free: 1.156 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8461, allocations: 0 / 1.191 GB, free: 1.156 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001354/0.8474, allocations: 471.4 kB / 1.191 GB, free: 0.6953 MB / 0.9356 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.0004097/0.8478, allocations: 185.3 kB / 1.192 GB, free: 0.5156 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002663/0.8505, allocations: 1.271 MB / 1.193 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.8505, allocations: 4.062 kB / 1.193 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0007256/0.8513, allocations: 300.2 kB / 1.193 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003231/0.8545, allocations: 0.6309 MB / 1.194 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003173/0.8577, allocations: 2.095 MB / 1.196 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008209/0.8585, allocations: 1.212 MB / 1.197 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001142/0.8597, allocations: 340.1 kB / 1.197 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001881/0.8599, allocations: 59.44 kB / 1.197 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of SimCode: time 7.81e-07/0.8599, allocations: 0 / 1.197 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of Templates: time 0.03404/0.8939, allocations: 20.4 MB / 1.217 GB, free: 6.289 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlow.csv","../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches