Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.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.SeriesParallelDp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 99.94 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.001398/0.001398, allocations: 177.3 kB / 15.95 MB, free: 216 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.368/1.368, allocations: 223.2 MB / 239.9 MB, free: 5.449 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.364/2.364, allocations: 390.3 MB / 0.6653 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004253/0.0004253, allocations: 16 kB / 0.8145 GB, free: 14.3 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7343/0.7348, allocations: 142.3 MB / 0.9535 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp): time 0.1665/0.9014, allocations: 140.5 MB / 1.091 GB, free: 3.363 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.005165/0.9066, allocations: 3.608 MB / 1.094 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004971/0.9071, allocations: 11.88 kB / 1.094 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007647/0.9079, allocations: 231 kB / 1.094 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001785/0.9097, allocations: 0.6972 MB / 1.095 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001275/0.911, allocations: 491.4 kB / 1.096 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00198/0.9129, allocations: 1.65 MB / 1.097 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002668/0.9156, allocations: 2.321 MB / 1.099 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001549/0.9172, allocations: 0.8565 MB / 1.1 GB, free: 9.492 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007702/0.918, allocations: 0.6031 MB / 1.101 GB, free: 8.887 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.859e-05/0.9181, allocations: 48 kB / 1.101 GB, free: 8.84 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00108/0.9192, allocations: 459.3 kB / 1.101 GB, free: 8.391 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002904/0.9195, allocations: 303 kB / 1.102 GB, free: 8.094 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002714/0.9198, allocations: 249.1 kB / 1.102 GB, free: 7.844 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001131/0.9209, allocations: 1.126 MB / 1.103 GB, free: 6.715 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.9209, allocations: 0 / 1.103 GB, free: 6.715 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.494e-06/0.9209, allocations: 0 / 1.103 GB, free: 6.715 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.376e-05/0.9209, allocations: 8 kB / 1.103 GB, free: 6.707 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.002569/0.9235, allocations: 1.499 MB / 1.104 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.9236, allocations: 11.97 kB / 1.104 GB, free: 5.137 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007942/0.9244, allocations: 210.3 kB / 1.105 GB, free: 4.93 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001631/0.926, allocations: 0.864 MB / 1.106 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.736e-05/0.9261, allocations: 49.31 kB / 1.106 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.982e-05/0.9262, allocations: 60 kB / 1.106 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001444/0.9276, allocations: 0.9831 MB / 1.107 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/0.9277, allocations: 7.938 kB / 1.107 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.749e-05/0.9277, allocations: 23.95 kB / 1.107 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.905e-05/0.9278, allocations: 16 kB / 1.107 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001277/0.929, allocations: 0.8038 MB / 1.107 GB, free: 1.996 MB / 0.8575 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.00498/0.934, allocations: 4.801 MB / 1.112 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002585/0.9366, allocations: 4.037 MB / 1.116 GB, free: 7.988 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 6.291e-05/0.9367, allocations: 12.27 kB / 1.116 GB, free: 7.977 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005316/0.9373, allocations: 350.2 kB / 1.116 GB, free: 7.613 MB / 0.8731 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003325/0.9376, allocations: 31.69 kB / 1.116 GB, free: 7.582 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=35): time 1.984e-06/0.9376, allocations: 0 / 1.116 GB, free: 7.582 MB / 0.8731 GB Notification: Performance of matching and sorting (n=35): time 0.005152/0.9428, allocations: 1.69 MB / 1.118 GB, free: 5.863 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.769e-05/0.9428, allocations: 106.8 kB / 1.118 GB, free: 5.734 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001525/0.9444, allocations: 1.181 MB / 1.119 GB, free: 4.539 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.248e-05/0.9445, allocations: 37.7 kB / 1.119 GB, free: 4.496 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000443/0.9449, allocations: 0.516 MB / 1.12 GB, free: 3.977 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/0.945, allocations: 110.4 kB / 1.12 GB, free: 3.867 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.499e-05/0.9451, allocations: 12 kB / 1.12 GB, free: 3.855 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.9452, allocations: 329.9 kB / 1.12 GB, free: 3.527 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003856/0.9456, allocations: 209 kB / 1.121 GB, free: 3.32 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005874/0.9462, allocations: 0.5329 MB / 1.121 GB, free: 2.652 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004623/0.9466, allocations: 333.4 kB / 1.121 GB, free: 2.32 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.9467, allocations: 0 / 1.121 GB, free: 2.32 MB / 0.8731 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002335/0.949, allocations: 1.083 MB / 1.122 GB, free: 1.219 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008537/0.9499, allocations: 2.142 MB / 1.125 GB, free: 14.92 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.684e-05/0.9499, allocations: 15.95 kB / 1.125 GB, free: 14.9 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001577/0.9515, allocations: 434.3 kB / 1.125 GB, free: 14.48 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003139/0.9518, allocations: 71.89 kB / 1.125 GB, free: 14.41 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001437/0.9532, allocations: 1.132 MB / 1.126 GB, free: 13.25 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001038/0.9543, allocations: 99.73 kB / 1.126 GB, free: 13.15 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-05/0.9544, allocations: 24 kB / 1.126 GB, free: 13.13 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.9544, allocations: 4 kB / 1.126 GB, free: 13.12 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001469/0.9559, allocations: 0.8141 MB / 1.127 GB, free: 12.3 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.9559, allocations: 4 kB / 1.127 GB, free: 12.3 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005795/0.9565, allocations: 257.9 kB / 1.127 GB, free: 12.04 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002948/0.9568, allocations: 67.89 kB / 1.127 GB, free: 11.98 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003896/0.9607, allocations: 3.205 MB / 1.13 GB, free: 8.637 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001015/0.9617, allocations: 99.8 kB / 1.131 GB, free: 8.539 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.142e-05/0.9618, allocations: 20 kB / 1.131 GB, free: 8.52 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 {11 12} Notification: Performance of prepare postOptimizeDAE: time 0.0005853/0.9624, allocations: 478.1 kB / 1.131 GB, free: 8.043 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001345/0.9625, allocations: 118.6 kB / 1.131 GB, free: 7.926 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001428/0.9639, allocations: 0.798 MB / 1.132 GB, free: 7.117 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.83e-06/0.9639, allocations: 4 kB / 1.132 GB, free: 7.113 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.964, allocations: 4 kB / 1.132 GB, free: 7.109 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.964, allocations: 3.984 kB / 1.132 GB, free: 7.105 MB / 0.8887 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 postOpt removeSimpleEquations (simulation): time 0.003098/0.9671, allocations: 2.256 MB / 1.134 GB, free: 4.707 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.9671, allocations: 0 / 1.134 GB, free: 4.707 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002477/0.9673, allocations: 43.97 kB / 1.134 GB, free: 4.664 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000488/0.9678, allocations: 244 kB / 1.134 GB, free: 4.426 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.372e-05/0.9679, allocations: 8 kB / 1.134 GB, free: 4.418 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009062/0.9688, allocations: 0.9347 MB / 1.135 GB, free: 3.457 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.9688, allocations: 11.92 kB / 1.135 GB, free: 3.445 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001285/0.9701, allocations: 0.9745 MB / 1.136 GB, free: 2.395 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004524/0.9706, allocations: 239.7 kB / 1.137 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001128/0.9707, allocations: 8 kB / 1.137 GB, free: 2.133 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007077/0.9714, allocations: 75.75 kB / 1.137 GB, free: 2.059 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.299e-05/0.9715, allocations: 43.84 kB / 1.137 GB, free: 2.016 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-05/0.9715, allocations: 12 kB / 1.137 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001014/0.9725, allocations: 0.8328 MB / 1.137 GB, free: 1.164 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9725, allocations: 0 / 1.137 GB, free: 1.164 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001364/0.9739, allocations: 0.5032 MB / 1.138 GB, free: 0.6602 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 (22): * Single equations (assignments): 19 * 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 {11 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004221/0.9743, allocations: 185 kB / 1.138 GB, free: 492 kB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002555/0.9769, allocations: 1.29 MB / 1.139 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.9769, allocations: 0 / 1.139 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0006208/0.9776, allocations: 316.2 kB / 1.14 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003242/0.9808, allocations: 0.6458 MB / 1.14 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003099/0.9839, allocations: 2.237 MB / 1.143 GB, free: 11.92 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007492/0.9847, allocations: 1.236 MB / 1.144 GB, free: 10.65 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.000998/0.9857, allocations: 324.6 kB / 1.144 GB, free: 10.33 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001441/0.9859, allocations: 71.42 kB / 1.144 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of SimCode: time 6.51e-07/0.9859, allocations: 0 / 1.144 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of Templates: time 0.03622/1.022, allocations: 20.78 MB / 1.164 GB, free: 5.715 MB / 0.92 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp.csv","../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches