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.001133/0.001133, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001535/0.001535, allocations: 172.7 kB / 15.95 MB, free: 208 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.439/1.439, allocations: 223.3 MB / 240 MB, free: 5.43 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.451/2.451, allocations: 390.9 MB / 0.666 GB, free: 2.523 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003633/0.0003634, allocations: 12 kB / 0.8154 GB, free: 13.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7301/0.7305, allocations: 142.4 MB / 0.9544 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp): time 0.1816/0.9121, allocations: 152.4 MB / 1.103 GB, free: 6.746 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005297/0.9175, allocations: 3.794 MB / 1.107 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000409/0.9179, allocations: 15.88 kB / 1.107 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006013/0.9186, allocations: 159 kB / 1.107 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001445/0.92, allocations: 0.5046 MB / 1.108 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001169/0.9212, allocations: 411.2 kB / 1.108 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003522/0.9247, allocations: 3.269 MB / 1.111 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003236/0.928, allocations: 2.305 MB / 1.113 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002518/0.9305, allocations: 1.058 MB / 1.114 GB, free: 11.21 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00126/0.9318, allocations: 0.8482 MB / 1.115 GB, free: 10.36 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001219/0.9319, allocations: 48 kB / 1.115 GB, free: 10.31 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001491/0.9334, allocations: 0.5964 MB / 1.116 GB, free: 9.711 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003525/0.9338, allocations: 326.8 kB / 1.116 GB, free: 9.391 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.000394/0.9342, allocations: 249.1 kB / 1.116 GB, free: 9.141 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.00125/0.9354, allocations: 1.177 MB / 1.118 GB, free: 7.961 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.9355, allocations: 0 / 1.118 GB, free: 7.961 MB / 0.8731 GB Notification: Performance of FrontEnd: time 3.196e-06/0.9355, allocations: 4 kB / 1.118 GB, free: 7.957 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.6e-05/0.9355, allocations: 0 / 1.118 GB, free: 7.957 MB / 0.8731 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.002413/0.9379, allocations: 1.514 MB / 1.119 GB, free: 6.383 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.938, allocations: 8.031 kB / 1.119 GB, free: 6.375 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007851/0.9388, allocations: 206.3 kB / 1.119 GB, free: 6.172 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001367/0.9401, allocations: 0.8641 MB / 1.12 GB, free: 5.254 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.899e-05/0.9402, allocations: 45.31 kB / 1.12 GB, free: 5.207 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/0.9403, allocations: 71.94 kB / 1.12 GB, free: 5.137 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001398/0.9417, allocations: 0.9877 MB / 1.121 GB, free: 4.074 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.9418, allocations: 0 / 1.121 GB, free: 4.074 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.746e-05/0.9418, allocations: 31.94 kB / 1.121 GB, free: 4.043 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.025e-05/0.9419, allocations: 16 kB / 1.121 GB, free: 4.027 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001202/0.9431, allocations: 0.7999 MB / 1.122 GB, free: 3.23 MB / 0.8731 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.004356/0.9474, allocations: 4.812 MB / 1.127 GB, free: 14.07 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002531/0.95, allocations: 4.028 MB / 1.131 GB, free: 9.223 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005123/0.9505, allocations: 349.2 kB / 1.131 GB, free: 8.879 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003014/0.9508, allocations: 194.5 kB / 1.131 GB, free: 8.652 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000536/0.9514, allocations: 340.9 kB / 1.132 GB, free: 8.301 MB / 0.8887 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002433/0.9516, allocations: 35.69 kB / 1.132 GB, free: 8.266 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=35): time 2.475e-06/0.9516, allocations: 0 / 1.132 GB, free: 8.266 MB / 0.8887 GB Notification: Performance of matching and sorting (n=35): time 0.004744/0.9564, allocations: 1.692 MB / 1.133 GB, free: 6.543 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.381e-05/0.9564, allocations: 85.09 kB / 1.133 GB, free: 6.441 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001447/0.9579, allocations: 1.181 MB / 1.134 GB, free: 5.246 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 4.83e-05/0.958, allocations: 37.7 kB / 1.135 GB, free: 5.203 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004378/0.9584, allocations: 0.5121 MB / 1.135 GB, free: 4.688 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 9.598e-05/0.9585, allocations: 130.2 kB / 1.135 GB, free: 4.559 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.37e-05/0.9585, allocations: 4 kB / 1.135 GB, free: 4.555 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.9587, allocations: 333.9 kB / 1.135 GB, free: 4.223 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003508/0.959, allocations: 205 kB / 1.136 GB, free: 4.02 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005923/0.9596, allocations: 0.5371 MB / 1.136 GB, free: 3.344 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004519/0.9601, allocations: 325.3 kB / 1.136 GB, free: 3.02 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.9601, allocations: 0 / 1.136 GB, free: 3.02 MB / 0.8887 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002178/0.9623, allocations: 1.073 MB / 1.138 GB, free: 1.93 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002006/0.9625, allocations: 275 kB / 1.138 GB, free: 1.578 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.9625, allocations: 4 kB / 1.138 GB, free: 1.574 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001397/0.9639, allocations: 438.5 kB / 1.138 GB, free: 1.145 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002973/0.9642, allocations: 79.88 kB / 1.138 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00137/0.9656, allocations: 1.125 MB / 1.139 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008863/0.9665, allocations: 107.7 kB / 1.139 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.696e-05/0.9666, allocations: 24 kB / 1.14 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 9.679e-06/0.9666, allocations: 4 kB / 1.14 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001406/0.968, allocations: 0.8181 MB / 1.14 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.968, allocations: 4 kB / 1.14 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005722/0.9686, allocations: 256.6 kB / 1.141 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002734/0.9689, allocations: 67.89 kB / 1.141 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003717/0.9726, allocations: 3.15 MB / 1.144 GB, free: 11.35 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009/0.9735, allocations: 99.8 kB / 1.144 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.855e-05/0.9736, allocations: 24 kB / 1.144 GB, free: 11.23 MB / 0.9044 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.0005812/0.9742, allocations: 476.7 kB / 1.144 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/0.9743, allocations: 114.8 kB / 1.144 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001366/0.9757, allocations: 0.832 MB / 1.145 GB, free: 9.793 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.9757, allocations: 4 kB / 1.145 GB, free: 9.789 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.9757, allocations: 0 / 1.145 GB, free: 9.789 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.9757, allocations: 0 / 1.145 GB, free: 9.789 MB / 0.9044 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.002764/0.9785, allocations: 2.168 MB / 1.147 GB, free: 7.48 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.197e-06/0.9785, allocations: 4 kB / 1.147 GB, free: 7.477 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002157/0.9787, allocations: 48.12 kB / 1.147 GB, free: 7.43 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004697/0.9792, allocations: 244.3 kB / 1.148 GB, free: 7.191 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.65e-05/0.9792, allocations: 16 kB / 1.148 GB, free: 7.176 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008481/0.9801, allocations: 0.9345 MB / 1.149 GB, free: 6.215 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.9801, allocations: 8 kB / 1.149 GB, free: 6.207 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001225/0.9813, allocations: 0.8788 MB / 1.149 GB, free: 5.289 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003219/0.9817, allocations: 235.7 kB / 1.15 GB, free: 5.039 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/0.9818, allocations: 15.98 kB / 1.15 GB, free: 5.023 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006031/0.9824, allocations: 75.77 kB / 1.15 GB, free: 4.949 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.906e-05/0.9825, allocations: 35.89 kB / 1.15 GB, free: 4.914 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.736e-05/0.9825, allocations: 15.98 kB / 1.15 GB, free: 4.898 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0009991/0.9835, allocations: 0.825 MB / 1.151 GB, free: 4.066 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3.01e-07/0.9835, allocations: 0 / 1.151 GB, free: 4.066 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001376/0.9849, allocations: 0.511 MB / 1.151 GB, free: 3.555 MB / 0.9044 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.0003839/0.9853, allocations: 195.9 kB / 1.151 GB, free: 3.363 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002408/0.9877, allocations: 1.288 MB / 1.153 GB, free: 2.039 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.9877, allocations: 0 / 1.153 GB, free: 2.039 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0006229/0.9884, allocations: 320.4 kB / 1.153 GB, free: 1.727 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00285/0.9912, allocations: 0.6599 MB / 1.153 GB, free: 1.074 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002917/0.9942, allocations: 2.206 MB / 1.156 GB, free: 14.82 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008083/0.995, allocations: 1.216 MB / 1.157 GB, free: 13.57 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0009526/0.996, allocations: 332.6 kB / 1.157 GB, free: 13.25 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001424/0.9961, allocations: 63.44 kB / 1.157 GB, free: 13.18 MB / 0.92 GB Notification: Performance of SimCode: time 8.82e-07/0.9961, allocations: 3.938 kB / 1.157 GB, free: 13.18 MB / 0.92 GB Notification: Performance of Templates: time 0.0377/1.034, allocations: 20.8 MB / 1.178 GB, free: 8.613 MB / 0.9356 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches