Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.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.SeriesParallelFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.444/2.444, allocations: 387.4 MB / 394.9 MB, free: 13.4 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.001594/0.001594, allocations: 180.6 kB / 487.4 MB, free: 5.07 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.672/1.672, allocations: 221.5 MB / 0.7824 GB, free: 0.9492 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008779/0.0008779, allocations: 103.8 kB / 0.9219 GB, free: 2.176 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.844e-05/1.847e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3496/0.3496, allocations: 142.4 MB / 1.206 GB, free: 43.94 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.334/5.684, allocations: 1.869 GB / 3.075 GB, free: 12.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002645/5.684, allocations: 87.95 kB / 3.075 GB, free: 12.51 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 4.439/10.12, allocations: 1.069 GB / 4.143 GB, free: 285.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.894e-06/10.12, allocations: 4 kB / 4.143 GB, free: 285.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001091/10.12, allocations: 35.97 kB / 4.143 GB, free: 285.9 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.003779/10.13, allocations: 1.28 MB / 4.144 GB, free: 284.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/10.13, allocations: 8.031 kB / 4.144 GB, free: 284.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001001/10.13, allocations: 194.4 kB / 4.145 GB, free: 284.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003172/10.13, allocations: 1.429 MB / 4.146 GB, free: 282.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.789e-05/10.13, allocations: 20 kB / 4.146 GB, free: 282.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.539e-05/10.13, allocations: 43.09 kB / 4.146 GB, free: 282.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008921/10.13, allocations: 0.6975 MB / 4.147 GB, free: 282.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009367/10.13, allocations: 0.8453 MB / 4.148 GB, free: 281.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/10.13, allocations: 4 kB / 4.148 GB, free: 281.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.41e-05/10.13, allocations: 7.984 kB / 4.148 GB, free: 281.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/10.13, allocations: 16 kB / 4.148 GB, free: 281.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.003403/10.14, allocations: 4.603 MB / 4.152 GB, free: 276.2 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001472/10.14, allocations: 4.075 MB / 4.156 GB, free: 271.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003147/10.14, allocations: 345.7 kB / 4.156 GB, free: 271 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002722/10.14, allocations: 194.2 kB / 4.157 GB, free: 270.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003337/10.14, allocations: 294.2 kB / 4.157 GB, free: 270.4 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003524/10.14, allocations: 15.75 kB / 4.157 GB, free: 270.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=36): time 1.944e-06/10.14, allocations: 0 / 4.157 GB, free: 270.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=36): time 0.001581/10.14, allocations: 0.8165 MB / 4.158 GB, free: 269.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/10.14, allocations: 81.11 kB / 4.158 GB, free: 269.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008746/10.14, allocations: 0.9024 MB / 4.159 GB, free: 268.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.746e-05/10.14, allocations: 29.7 kB / 4.159 GB, free: 268.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002933/10.14, allocations: 0.5277 MB / 4.159 GB, free: 268 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 6.954e-05/10.14, allocations: 122.2 kB / 4.159 GB, free: 267.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.274e-05/10.14, allocations: 4 kB / 4.159 GB, free: 267.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.524e-05/10.14, allocations: 333.9 kB / 4.16 GB, free: 267.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002187/10.14, allocations: 201 kB / 4.16 GB, free: 267.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003586/10.14, allocations: 0.5394 MB / 4.16 GB, free: 266.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000293/10.14, allocations: 293.3 kB / 4.161 GB, free: 266.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/10.14, allocations: 7.938 kB / 4.161 GB, free: 266.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.00138/10.15, allocations: 0.9614 MB / 4.162 GB, free: 265.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004445/10.15, allocations: 2.221 MB / 4.164 GB, free: 263 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/10.15, allocations: 4 kB / 4.164 GB, free: 263 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004246/10.15, allocations: 255.2 kB / 4.164 GB, free: 262.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003867/10.15, allocations: 87.75 kB / 4.164 GB, free: 262.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001383/10.15, allocations: 1.768 MB / 4.166 GB, free: 260.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009936/10.15, allocations: 87.84 kB / 4.166 GB, free: 260.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.903e-05/10.15, allocations: 31.97 kB / 4.166 GB, free: 260.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/10.15, allocations: 4 kB / 4.166 GB, free: 260.7 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009852/10.15, allocations: 0.6526 MB / 4.167 GB, free: 260.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/10.15, allocations: 11.94 kB / 4.167 GB, free: 260.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004176/10.15, allocations: 202 kB / 4.167 GB, free: 259.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000248/10.15, allocations: 75.89 kB / 4.167 GB, free: 259.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002715/10.15, allocations: 2.798 MB / 4.17 GB, free: 256.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009579/10.15, allocations: 87.81 kB / 4.17 GB, free: 256.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.114e-05/10.15, allocations: 27.98 kB / 4.17 GB, free: 256.8 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (40): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 10} Notification: Performance of prepare postOptimizeDAE: time 0.000157/10.15, allocations: 125 kB / 4.17 GB, free: 256.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/10.16, allocations: 106.7 kB / 4.17 GB, free: 256.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001052/10.16, allocations: 0.7184 MB / 4.171 GB, free: 255.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/10.16, allocations: 4 kB / 4.171 GB, free: 255.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/10.16, allocations: 0 / 4.171 GB, free: 255.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/10.16, allocations: 3.953 kB / 4.171 GB, free: 255.8 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 postOpt removeSimpleEquations (simulation): time 0.002083/10.16, allocations: 2.013 MB / 4.173 GB, free: 253.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/10.16, allocations: 3.938 kB / 4.173 GB, free: 253.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002392/10.16, allocations: 67.84 kB / 4.173 GB, free: 253.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002608/10.16, allocations: 164.9 kB / 4.173 GB, free: 253.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.187e-05/10.16, allocations: 4 kB / 4.173 GB, free: 253.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007545/10.16, allocations: 1.482 MB / 4.174 GB, free: 251.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/10.16, allocations: 0 / 4.174 GB, free: 251.9 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008031/10.16, allocations: 0.8947 MB / 4.175 GB, free: 250.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002748/10.16, allocations: 223.8 kB / 4.175 GB, free: 250.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/10.16, allocations: 7.984 kB / 4.175 GB, free: 250.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006467/10.16, allocations: 75.77 kB / 4.175 GB, free: 250.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.203e-05/10.16, allocations: 35.84 kB / 4.175 GB, free: 250.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.266e-05/10.16, allocations: 19.98 kB / 4.175 GB, free: 250.5 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0006556/10.16, allocations: 0.6945 MB / 4.176 GB, free: 249.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/10.16, allocations: 7.938 kB / 4.176 GB, free: 249.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001591/10.16, allocations: 0.5656 MB / 4.177 GB, free: 249.2 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {9 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001472/10.17, allocations: 1.205 MB / 4.178 GB, free: 248 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002084/10.17, allocations: 1.207 MB / 4.179 GB, free: 246.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/10.17, allocations: 0 / 4.179 GB, free: 246.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004577/10.17, allocations: 284.2 kB / 4.179 GB, free: 246.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00284/10.17, allocations: 0.5816 MB / 4.18 GB, free: 245.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001877/10.17, allocations: 1.426 MB / 4.181 GB, free: 244.4 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004959/10.17, allocations: 1.234 MB / 4.182 GB, free: 243.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001677/10.17, allocations: 0.7103 MB / 4.183 GB, free: 242.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.462e-05/10.17, allocations: 51.38 kB / 4.183 GB, free: 242.4 MB / 1.151 GB Notification: Performance of SimCode: time 1.753e-06/10.17, allocations: 0 / 4.183 GB, free: 242.4 MB / 1.151 GB Notification: Performance of Templates: time 0.03974/10.21, allocations: 25.21 MB / 4.208 GB, free: 217.4 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow.csv","../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches