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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.307/2.307, allocations: 387.1 MB / 399.7 MB, free: 9.492 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 172.9 kB / 492.3 MB, free: 0.6172 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.544/1.544, allocations: 221.3 MB / 0.7871 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001497/0.001497, allocations: 87.97 kB / 0.9267 GB, free: 14.04 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.136e-05/3.138e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3302/0.3303, allocations: 142.3 MB / 1.212 GB, free: 38.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.774/6.104, allocations: 1.869 GB / 3.082 GB, free: 359 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003076/6.105, allocations: 92.59 kB / 3.082 GB, free: 359 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.393/9.497, allocations: 0.968 GB / 4.05 GB, free: 322.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.883e-06/9.498, allocations: 0 / 4.05 GB, free: 322.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001064/9.498, allocations: 32.92 kB / 4.05 GB, free: 322.3 MB / 1.151 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.003665/9.501, allocations: 1.229 MB / 4.051 GB, free: 321.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/9.501, allocations: 8.031 kB / 4.051 GB, free: 321.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009689/9.502, allocations: 194 kB / 4.051 GB, free: 320.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003235/9.506, allocations: 1.377 MB / 4.052 GB, free: 319.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.323e-05/9.506, allocations: 49 kB / 4.052 GB, free: 319.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.364e-05/9.506, allocations: 60 kB / 4.052 GB, free: 319.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001024/9.507, allocations: 0.7665 MB / 4.053 GB, free: 318.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/9.507, allocations: 3.938 kB / 4.053 GB, free: 318.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.175e-05/9.507, allocations: 26.92 kB / 4.053 GB, free: 318.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/9.507, allocations: 12 kB / 4.053 GB, free: 318.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006161/9.508, allocations: 0.4908 MB / 4.054 GB, free: 318.1 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.003464/9.511, allocations: 4.219 MB / 4.058 GB, free: 313.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004734/9.511, allocations: 395.8 kB / 4.058 GB, free: 313.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003283/9.512, allocations: 319.2 kB / 4.059 GB, free: 312.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002842/9.512, allocations: 202.2 kB / 4.059 GB, free: 312.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003521/9.512, allocations: 295.8 kB / 4.059 GB, free: 312.3 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003201/9.513, allocations: 31.64 kB / 4.059 GB, free: 312.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=33): time 2.104e-06/9.513, allocations: 0 / 4.059 GB, free: 312.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=33): time 0.001264/9.514, allocations: 0.7332 MB / 4.06 GB, free: 311.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/9.514, allocations: 81.11 kB / 4.06 GB, free: 311.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001034/9.515, allocations: 1.005 MB / 4.061 GB, free: 310.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.993e-05/9.515, allocations: 37.7 kB / 4.061 GB, free: 310.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002896/9.516, allocations: 488.8 kB / 4.061 GB, free: 309.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 6.568e-05/9.516, allocations: 110.5 kB / 4.061 GB, free: 309.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.281e-05/9.516, allocations: 12 kB / 4.061 GB, free: 309.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.571e-05/9.516, allocations: 326 kB / 4.062 GB, free: 309.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002212/9.516, allocations: 185 kB / 4.062 GB, free: 309.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003703/9.516, allocations: 0.4983 MB / 4.062 GB, free: 308.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003005/9.517, allocations: 311.8 kB / 4.063 GB, free: 308.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/9.517, allocations: 0 / 4.063 GB, free: 308.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001137/9.518, allocations: 0.9131 MB / 4.064 GB, free: 307.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004435/9.518, allocations: 2.136 MB / 4.066 GB, free: 305.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/9.518, allocations: 8 kB / 4.066 GB, free: 305.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005815/9.519, allocations: 303.3 kB / 4.066 GB, free: 304.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002468/9.519, allocations: 75.78 kB / 4.066 GB, free: 304.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001234/9.52, allocations: 1.1 MB / 4.067 GB, free: 303.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009645/9.521, allocations: 91.75 kB / 4.067 GB, free: 303.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.214e-05/9.521, allocations: 27.98 kB / 4.067 GB, free: 303.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/9.521, allocations: 4.781 kB / 4.067 GB, free: 303.5 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001062/9.522, allocations: 0.7397 MB / 4.068 GB, free: 302.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/9.522, allocations: 4 kB / 4.068 GB, free: 302.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004685/9.523, allocations: 233.8 kB / 4.068 GB, free: 302.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002066/9.523, allocations: 71.75 kB / 4.068 GB, free: 302.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003093/9.526, allocations: 3.01 MB / 4.071 GB, free: 299.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009323/9.527, allocations: 95.81 kB / 4.071 GB, free: 299.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.919e-05/9.527, allocations: 24 kB / 4.071 GB, free: 299.2 MB / 1.151 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 () * 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.0001669/9.527, allocations: 137.3 kB / 4.071 GB, free: 299 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001261/9.528, allocations: 103 kB / 4.072 GB, free: 298.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001144/9.529, allocations: 0.7498 MB / 4.072 GB, free: 298.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/9.529, allocations: 4 kB / 4.072 GB, free: 298.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/9.529, allocations: 3.953 kB / 4.072 GB, free: 298.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/9.529, allocations: 3.984 kB / 4.072 GB, free: 298.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002084/9.531, allocations: 1.691 MB / 4.074 GB, free: 296.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/9.531, allocations: 4 kB / 4.074 GB, free: 296.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001279/9.531, allocations: 27.97 kB / 4.074 GB, free: 296.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004604/9.531, allocations: 266.7 kB / 4.074 GB, free: 296.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.315e-05/9.532, allocations: 12.22 kB / 4.074 GB, free: 296.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007881/9.532, allocations: 1.031 MB / 4.075 GB, free: 295 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/9.532, allocations: 0 / 4.075 GB, free: 295 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009172/9.533, allocations: 0.9583 MB / 4.076 GB, free: 294 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003219/9.534, allocations: 227.8 kB / 4.076 GB, free: 293.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.514e-05/9.534, allocations: 8 kB / 4.076 GB, free: 293.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005937/9.534, allocations: 67.77 kB / 4.076 GB, free: 293.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.203e-05/9.534, allocations: 27.95 kB / 4.077 GB, free: 293.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.331e-05/9.534, allocations: 16 kB / 4.077 GB, free: 293.6 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.000835/9.535, allocations: 0.7972 MB / 4.077 GB, free: 292.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.7e-07/9.535, allocations: 0 / 4.077 GB, free: 292.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001583/9.537, allocations: 0.5426 MB / 4.078 GB, free: 292.3 MB / 1.151 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) * 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.001232/9.538, allocations: 0.8988 MB / 4.079 GB, free: 291.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002074/9.54, allocations: 1.21 MB / 4.08 GB, free: 290.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/9.54, allocations: 4 kB / 4.08 GB, free: 290.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004637/9.541, allocations: 284.5 kB / 4.08 GB, free: 289.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002879/9.544, allocations: 0.6275 MB / 4.081 GB, free: 289.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001832/9.545, allocations: 1.391 MB / 4.082 GB, free: 287.8 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005196/9.546, allocations: 1.21 MB / 4.083 GB, free: 286.5 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001616/9.548, allocations: 0.7067 MB / 4.084 GB, free: 285.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.766e-05/9.548, allocations: 43.44 kB / 4.084 GB, free: 285.8 MB / 1.151 GB Notification: Performance of SimCode: time 6.62e-07/9.548, allocations: 0 / 4.084 GB, free: 285.8 MB / 1.151 GB Notification: Performance of Templates: time 0.04598/9.594, allocations: 35.51 MB / 4.119 GB, free: 250.4 MB / 1.151 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","../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches