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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 99.31 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.001255/0.001255, 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.343/1.343, allocations: 223.2 MB / 239.9 MB, free: 5.461 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.442/2.442, allocations: 390.2 MB / 0.6653 GB, free: 2.992 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003534/0.0003537, allocations: 16 kB / 0.8145 GB, free: 14.3 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7245/0.7248, allocations: 142.3 MB / 0.9535 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow): time 0.1655/0.8904, allocations: 140.5 MB / 1.091 GB, free: 3.363 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.003782/0.8942, allocations: 2.165 MB / 1.093 GB, free: 1.195 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003554/0.8946, allocations: 11.94 kB / 1.093 GB, free: 1.184 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0007524/0.8954, allocations: 234.9 kB / 1.093 GB, free: 0.9531 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001882/0.8973, allocations: 0.705 MB / 1.094 GB, free: 252 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001285/0.8986, allocations: 446.4 kB / 1.094 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002277/0.9009, allocations: 1.638 MB / 1.096 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003091/0.904, allocations: 2.317 MB / 1.098 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00224/0.9062, allocations: 0.8449 MB / 1.099 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009806/0.9072, allocations: 0.6109 MB / 1.099 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001216/0.9074, allocations: 48 kB / 1.099 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001329/0.9087, allocations: 0.624 MB / 1.1 GB, free: 9.707 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000335/0.909, allocations: 311 kB / 1.1 GB, free: 9.402 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002809/0.9093, allocations: 249.1 kB / 1.101 GB, free: 9.152 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001213/0.9106, allocations: 1.161 MB / 1.102 GB, free: 7.988 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.9106, allocations: 0 / 1.102 GB, free: 7.988 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.933e-06/0.9106, allocations: 0 / 1.102 GB, free: 7.988 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.933e-05/0.9106, allocations: 0 / 1.102 GB, free: 7.988 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.002828/0.9134, allocations: 1.518 MB / 1.103 GB, free: 6.41 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.9135, allocations: 12.03 kB / 1.103 GB, free: 6.398 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008318/0.9143, allocations: 202.3 kB / 1.103 GB, free: 6.199 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001732/0.9161, allocations: 0.8756 MB / 1.104 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.933e-05/0.9161, allocations: 41.31 kB / 1.104 GB, free: 5.227 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001172/0.9163, allocations: 68 kB / 1.104 GB, free: 5.16 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001545/0.9178, allocations: 0.987 MB / 1.105 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/0.9178, allocations: 4 kB / 1.105 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.107e-05/0.9179, allocations: 20 kB / 1.105 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.843e-05/0.9179, allocations: 23.89 kB / 1.105 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001301/0.9192, allocations: 0.8038 MB / 1.106 GB, free: 3.25 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.00533/0.9246, allocations: 4.801 MB / 1.111 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002983/0.9276, allocations: 4.033 MB / 1.115 GB, free: 9.242 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 7.118e-05/0.9277, allocations: 12.27 kB / 1.115 GB, free: 9.23 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000528/0.9282, allocations: 338.5 kB / 1.115 GB, free: 8.879 MB / 0.8731 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003324/0.9286, allocations: 27.69 kB / 1.115 GB, free: 8.852 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=35): time 1.984e-06/0.9286, allocations: 4 kB / 1.115 GB, free: 8.848 MB / 0.8731 GB Notification: Performance of matching and sorting (n=35): time 0.004823/0.9334, allocations: 1.499 MB / 1.117 GB, free: 7.32 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.517e-05/0.9335, allocations: 110.8 kB / 1.117 GB, free: 7.188 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001698/0.9352, allocations: 1.173 MB / 1.118 GB, free: 6 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.941e-05/0.9353, allocations: 45.7 kB / 1.118 GB, free: 5.949 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005119/0.9358, allocations: 0.5083 MB / 1.118 GB, free: 5.438 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001191/0.9359, allocations: 126.3 kB / 1.119 GB, free: 5.312 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.579e-05/0.9359, allocations: 11.94 kB / 1.119 GB, free: 5.301 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.9361, allocations: 326 kB / 1.119 GB, free: 4.977 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003729/0.9365, allocations: 208.9 kB / 1.119 GB, free: 4.77 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006608/0.9371, allocations: 0.5368 MB / 1.12 GB, free: 4.098 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005051/0.9376, allocations: 325.8 kB / 1.12 GB, free: 3.773 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.9376, allocations: 0 / 1.12 GB, free: 3.773 MB / 0.8731 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002363/0.94, allocations: 1.048 MB / 1.121 GB, free: 2.707 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.001124/0.9412, allocations: 2.134 MB / 1.123 GB, free: 424 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.9412, allocations: 4 kB / 1.123 GB, free: 420 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001407/0.9426, allocations: 399.2 kB / 1.123 GB, free: 20 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005398/0.9431, allocations: 111.9 kB / 1.124 GB, free: 15.91 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001879/0.945, allocations: 1.665 MB / 1.125 GB, free: 14.2 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001051/0.9461, allocations: 103.8 kB / 1.125 GB, free: 14.09 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.594e-05/0.9462, allocations: 27.98 kB / 1.125 GB, free: 14.07 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.9462, allocations: 5.719 kB / 1.125 GB, free: 14.06 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001482/0.9477, allocations: 0.7791 MB / 1.126 GB, free: 13.27 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.9477, allocations: 8.031 kB / 1.126 GB, free: 13.26 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005534/0.9483, allocations: 227 kB / 1.126 GB, free: 13.04 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004419/0.9487, allocations: 104 kB / 1.126 GB, free: 12.94 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004029/0.9528, allocations: 3.008 MB / 1.129 GB, free: 9.793 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001096/0.9539, allocations: 104.2 kB / 1.129 GB, free: 9.691 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-05/0.9539, allocations: 24 kB / 1.129 GB, free: 9.668 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 (38): * Single equations (assignments): 35 * 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.0006796/0.9546, allocations: 478.1 kB / 1.13 GB, free: 9.191 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001566/0.9548, allocations: 114.6 kB / 1.13 GB, free: 9.078 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001433/0.9562, allocations: 0.7629 MB / 1.131 GB, free: 8.305 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.9563, allocations: 8.188 kB / 1.131 GB, free: 8.297 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.9563, allocations: 0 / 1.131 GB, free: 8.297 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/0.9563, allocations: 7.969 kB / 1.131 GB, free: 8.289 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.003174/0.9595, allocations: 2.205 MB / 1.133 GB, free: 5.941 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.9595, allocations: 0 / 1.133 GB, free: 5.941 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003847/0.9599, allocations: 96.06 kB / 1.133 GB, free: 5.848 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004196/0.9603, allocations: 192.6 kB / 1.133 GB, free: 5.656 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.122e-05/0.9603, allocations: 12 kB / 1.133 GB, free: 5.645 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001149/0.9615, allocations: 1.47 MB / 1.135 GB, free: 4.125 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.226e-05/0.9615, allocations: 4.031 kB / 1.135 GB, free: 4.121 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001611/0.9631, allocations: 0.9395 MB / 1.136 GB, free: 3.105 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005924/0.9637, allocations: 235.7 kB / 1.136 GB, free: 2.855 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000116/0.9639, allocations: 8 kB / 1.136 GB, free: 2.848 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006788/0.9646, allocations: 83.69 kB / 1.136 GB, free: 2.766 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.9647, allocations: 27.95 kB / 1.136 GB, free: 2.738 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.014e-05/0.9647, allocations: 16 kB / 1.136 GB, free: 2.723 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001209/0.9659, allocations: 0.8288 MB / 1.137 GB, free: 1.887 MB / 0.8887 GB Notification: Performance of sort global known variables: time 3.31e-07/0.9659, allocations: 0 / 1.137 GB, free: 1.887 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001536/0.9675, allocations: 0.5032 MB / 1.137 GB, free: 1.383 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 (25): * Single equations (assignments): 21 * 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.000486/0.968, allocations: 200.9 kB / 1.137 GB, free: 1.188 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002913/0.9709, allocations: 1.283 MB / 1.139 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.9709, allocations: 0 / 1.139 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0007565/0.9717, allocations: 332 kB / 1.139 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003404/0.9751, allocations: 0.6387 MB / 1.14 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003793/0.9789, allocations: 2.226 MB / 1.142 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008958/0.9798, allocations: 1.232 MB / 1.143 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001021/0.9808, allocations: 364.4 kB / 1.143 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001399/0.981, allocations: 67.44 kB / 1.143 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of SimCode: time 7.01e-07/0.981, allocations: 0 / 1.143 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of Templates: time 0.03381/1.015, allocations: 20.63 MB / 1.164 GB, free: 6.539 MB / 0.92 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