Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.0007606/0.0007606, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.00577/0.005769, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.445/1.445, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.802/2.802, allocations: 437.8 MB / 0.7121 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000388/0.0003881, allocations: 12 kB / 0.8728 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6554/0.6558, allocations: 153.8 MB / 1.023 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow): time 0.1648/0.8207, allocations: 157.3 MB / 1.177 GB, free: 1.98 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003226/0.824, allocations: 1.773 MB / 1.178 GB, free: 208 kB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003118/0.8243, allocations: 7.938 kB / 1.178 GB, free: 200 kB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005234/0.8249, allocations: 131.2 kB / 1.178 GB, free: 68 kB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001366/0.8262, allocations: 0.4902 MB / 1.179 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00101/0.8273, allocations: 347.2 kB / 1.179 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.003386/0.8307, allocations: 3.495 MB / 1.183 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002766/0.8334, allocations: 2.215 MB / 1.185 GB, free: 9.504 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001875/0.8353, allocations: 0.9024 MB / 1.186 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009463/0.8363, allocations: 0.7233 MB / 1.186 GB, free: 7.871 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 8.557e-05/0.8364, allocations: 32 kB / 1.186 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0015/0.8379, allocations: 0.799 MB / 1.187 GB, free: 7.039 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002959/0.8382, allocations: 274.9 kB / 1.188 GB, free: 6.77 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000608/0.8388, allocations: 0.5378 MB / 1.188 GB, free: 6.223 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001974/0.8408, allocations: 1.378 MB / 1.189 GB, free: 4.84 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.8408, allocations: 0 / 1.189 GB, free: 4.84 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.064e-06/0.8408, allocations: 0 / 1.189 GB, free: 4.84 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.321e-05/0.8409, allocations: 0 / 1.189 GB, free: 4.84 MB / 0.9356 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.002372/0.8433, allocations: 1.288 MB / 1.191 GB, free: 3.488 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.8433, allocations: 11.98 kB / 1.191 GB, free: 3.477 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007539/0.8441, allocations: 186.4 kB / 1.191 GB, free: 3.293 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001086/0.8452, allocations: 0.8061 MB / 1.192 GB, free: 2.43 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.28e-05/0.8452, allocations: 44.94 kB / 1.192 GB, free: 2.387 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.417e-05/0.8453, allocations: 64 kB / 1.192 GB, free: 2.324 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001217/0.8465, allocations: 0.8238 MB / 1.193 GB, free: 1.422 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.058e-05/0.8466, allocations: 4 kB / 1.193 GB, free: 1.418 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.537e-05/0.8466, allocations: 27.94 kB / 1.193 GB, free: 1.391 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.731e-05/0.8467, allocations: 16 kB / 1.193 GB, free: 1.375 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009494/0.8476, allocations: 0.5657 MB / 1.193 GB, free: 0.8086 MB / 0.9356 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.004088/0.8517, allocations: 4.258 MB / 1.197 GB, free: 12.28 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007457/0.8525, allocations: 455.8 kB / 1.198 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000502/0.853, allocations: 350.3 kB / 1.198 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002846/0.8533, allocations: 194.2 kB / 1.198 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005375/0.8538, allocations: 327.6 kB / 1.199 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002788/0.8541, allocations: 39.53 kB / 1.199 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=33): time 1.914e-06/0.8541, allocations: 0 / 1.199 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of matching and sorting (n=33): time 0.005048/0.8592, allocations: 1.59 MB / 1.2 GB, free: 9.258 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.936e-05/0.8593, allocations: 85.05 kB / 1.2 GB, free: 9.156 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001513/0.8608, allocations: 1.147 MB / 1.201 GB, free: 7.992 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 9.46e-05/0.8609, allocations: 37.7 kB / 1.201 GB, free: 7.949 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004135/0.8614, allocations: 488.4 kB / 1.202 GB, free: 7.469 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001054/0.8615, allocations: 122.3 kB / 1.202 GB, free: 7.348 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.366e-05/0.8615, allocations: 41.7 kB / 1.202 GB, free: 7.301 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.8617, allocations: 330 kB / 1.202 GB, free: 6.973 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004091/0.8621, allocations: 228.9 kB / 1.203 GB, free: 6.75 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006348/0.8627, allocations: 0.5501 MB / 1.203 GB, free: 6.07 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009439/0.8637, allocations: 0.688 MB / 1.204 GB, free: 5.305 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.8637, allocations: 0 / 1.204 GB, free: 5.305 MB / 0.9512 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002419/0.8661, allocations: 1.126 MB / 1.205 GB, free: 4.16 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001851/0.8663, allocations: 273.5 kB / 1.205 GB, free: 3.812 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.8663, allocations: 11.94 kB / 1.205 GB, free: 3.801 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001487/0.8678, allocations: 431.5 kB / 1.206 GB, free: 3.379 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003828/0.8682, allocations: 99.86 kB / 1.206 GB, free: 3.281 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00146/0.8697, allocations: 1.124 MB / 1.207 GB, free: 2.133 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009314/0.8706, allocations: 75.83 kB / 1.207 GB, free: 2.059 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-05/0.8707, allocations: 24 kB / 1.207 GB, free: 2.035 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.8707, allocations: 4 kB / 1.207 GB, free: 2.031 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001427/0.8721, allocations: 0.7877 MB / 1.208 GB, free: 1.234 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.8722, allocations: 8 kB / 1.208 GB, free: 1.227 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005247/0.8727, allocations: 228.6 kB / 1.208 GB, free: 1 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003651/0.8731, allocations: 96.11 kB / 1.208 GB, free: 0.9062 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003658/0.8767, allocations: 3.054 MB / 1.211 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009924/0.8778, allocations: 75.98 kB / 1.211 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.865e-05/0.8778, allocations: 27.98 kB / 1.211 GB, free: 13.61 MB / 0.9669 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.0006476/0.8785, allocations: 461.9 kB / 1.211 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001869/0.8787, allocations: 102.7 kB / 1.212 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001487/0.8802, allocations: 0.8007 MB / 1.212 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.736e-06/0.8802, allocations: 4 kB / 1.212 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.8802, allocations: 0 / 1.212 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.8802, allocations: 4.125 kB / 1.212 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002674/0.8829, allocations: 1.738 MB / 1.214 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.8829, allocations: 4 kB / 1.214 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002644/0.8832, allocations: 60.16 kB / 1.214 GB, free: 10.35 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005406/0.8837, allocations: 281.1 kB / 1.214 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.724e-05/0.8838, allocations: 8 kB / 1.214 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00103/0.8848, allocations: 1.036 MB / 1.215 GB, free: 9.004 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.8848, allocations: 8.031 kB / 1.215 GB, free: 8.996 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001415/0.8862, allocations: 0.9089 MB / 1.216 GB, free: 8.047 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000396/0.8867, allocations: 223.8 kB / 1.216 GB, free: 7.809 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/0.8868, allocations: 19.92 kB / 1.217 GB, free: 7.789 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006169/0.8874, allocations: 55.84 kB / 1.217 GB, free: 7.734 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.8875, allocations: 39.89 kB / 1.217 GB, free: 7.695 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-05/0.8875, allocations: 12 kB / 1.217 GB, free: 7.684 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001066/0.8886, allocations: 0.8158 MB / 1.217 GB, free: 6.859 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.934e-06/0.8886, allocations: 0 / 1.217 GB, free: 6.859 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001363/0.89, allocations: 467.4 kB / 1.218 GB, free: 6.402 MB / 0.9669 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.0004703/0.8905, allocations: 168.9 kB / 1.218 GB, free: 6.238 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002712/0.8932, allocations: 1.284 MB / 1.219 GB, free: 4.926 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.8932, allocations: 7.875 kB / 1.219 GB, free: 4.918 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0007254/0.894, allocations: 312.1 kB / 1.22 GB, free: 4.613 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00362/0.8976, allocations: 0.6174 MB / 1.22 GB, free: 4 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003038/0.9006, allocations: 2.188 MB / 1.222 GB, free: 1.762 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007251/0.9014, allocations: 1.189 MB / 1.223 GB, free: 0.543 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0009059/0.9023, allocations: 320.3 kB / 1.224 GB, free: 232 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001268/0.9024, allocations: 63.42 kB / 1.224 GB, free: 168 kB / 0.9669 GB Notification: Performance of SimCode: time 7.01e-07/0.9024, allocations: 0 / 1.224 GB, free: 168 kB / 0.9669 GB Notification: Performance of Templates: time 0.03572/0.9382, allocations: 20.92 MB / 1.244 GB, free: 11.44 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.makefile (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.sim & ./Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches