Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.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.ParallelFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 172.9 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 223.3 MB / 241 MB, free: 5.352 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.349/2.349, allocations: 390.9 MB / 0.667 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003703/0.0003706, allocations: 8 kB / 0.8166 GB, free: 13.29 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.778/0.7784, allocations: 142.4 MB / 0.9557 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised): time 0.18/0.9584, allocations: 157.3 MB / 1.109 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003386/0.9619, allocations: 1.745 MB / 1.111 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004523/0.9623, allocations: 15.88 kB / 1.111 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0006377/0.963, allocations: 135.2 kB / 1.111 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001501/0.9645, allocations: 0.498 MB / 1.112 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001162/0.9657, allocations: 351.1 kB / 1.112 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003618/0.9693, allocations: 3.495 MB / 1.115 GB, free: 11.32 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002945/0.9723, allocations: 2.226 MB / 1.118 GB, free: 9.078 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002032/0.9743, allocations: 0.9025 MB / 1.118 GB, free: 8.172 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001149/0.9755, allocations: 0.7155 MB / 1.119 GB, free: 7.453 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001462/0.9757, allocations: 32 kB / 1.119 GB, free: 7.422 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001675/0.9773, allocations: 0.8029 MB / 1.12 GB, free: 6.617 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0004014/0.9778, allocations: 278.9 kB / 1.12 GB, free: 6.344 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0008648/0.9786, allocations: 0.534 MB / 1.121 GB, free: 5.801 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001304/0.98, allocations: 1.017 MB / 1.122 GB, free: 4.781 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.98, allocations: 4 kB / 1.122 GB, free: 4.777 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.013e-06/0.98, allocations: 0 / 1.122 GB, free: 4.777 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 4.734e-05/0.98, allocations: 3.938 kB / 1.122 GB, free: 4.773 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002487/0.9825, allocations: 1.288 MB / 1.123 GB, free: 3.426 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.9826, allocations: 8.031 kB / 1.123 GB, free: 3.418 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009435/0.9835, allocations: 190.5 kB / 1.123 GB, free: 3.23 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001449/0.985, allocations: 0.8099 MB / 1.124 GB, free: 2.363 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.332e-05/0.9851, allocations: 41 kB / 1.124 GB, free: 2.32 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001117/0.9852, allocations: 60 kB / 1.124 GB, free: 2.262 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001389/0.9866, allocations: 0.8214 MB / 1.125 GB, free: 1.367 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.161e-05/0.9866, allocations: 7.938 kB / 1.125 GB, free: 1.359 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.843e-05/0.9867, allocations: 23.98 kB / 1.125 GB, free: 1.336 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.022e-05/0.9867, allocations: 16 kB / 1.125 GB, free: 1.32 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001043/0.9878, allocations: 0.5735 MB / 1.126 GB, free: 0.7461 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.004587/0.9924, allocations: 4.258 MB / 1.13 GB, free: 12.22 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007944/0.9932, allocations: 454.1 kB / 1.13 GB, free: 11.77 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005086/0.9937, allocations: 346.8 kB / 1.13 GB, free: 11.43 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003222/0.994, allocations: 198.2 kB / 1.131 GB, free: 11.2 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005472/0.9946, allocations: 319.1 kB / 1.131 GB, free: 10.86 MB / 0.8887 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003522/0.995, allocations: 35.53 kB / 1.131 GB, free: 10.83 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=33): time 2.805e-06/0.995, allocations: 4 kB / 1.131 GB, free: 10.82 MB / 0.8887 GB Notification: Performance of matching and sorting (n=33): time 0.005169/1, allocations: 1.696 MB / 1.133 GB, free: 9.098 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.745e-05/1, allocations: 89.09 kB / 1.133 GB, free: 8.992 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001757/1.002, allocations: 1.154 MB / 1.134 GB, free: 7.82 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 7.593e-05/1.002, allocations: 33.7 kB / 1.134 GB, free: 7.781 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004463/1.003, allocations: 488.4 kB / 1.134 GB, free: 7.301 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001292/1.003, allocations: 122.3 kB / 1.134 GB, free: 7.18 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.014e-05/1.003, allocations: 45.7 kB / 1.134 GB, free: 7.129 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001205/1.003, allocations: 326 kB / 1.135 GB, free: 6.805 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004253/1.003, allocations: 236.9 kB / 1.135 GB, free: 6.574 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006964/1.004, allocations: 0.5501 MB / 1.136 GB, free: 5.891 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001018/1.005, allocations: 0.6802 MB / 1.136 GB, free: 5.133 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/1.005, allocations: 4 kB / 1.136 GB, free: 5.129 MB / 0.8887 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002458/1.008, allocations: 1.123 MB / 1.137 GB, free: 3.988 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002006/1.008, allocations: 271.6 kB / 1.138 GB, free: 3.641 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-05/1.008, allocations: 8 kB / 1.138 GB, free: 3.633 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001323/1.009, allocations: 377.5 kB / 1.138 GB, free: 3.262 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003945/1.01, allocations: 103.8 kB / 1.138 GB, free: 3.16 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001171/1.011, allocations: 1.046 MB / 1.139 GB, free: 2.09 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009922/1.012, allocations: 85.11 kB / 1.139 GB, free: 2.008 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.909e-05/1.012, allocations: 24 kB / 1.139 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/1.012, allocations: 4 kB / 1.139 GB, free: 1.98 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001489/1.013, allocations: 0.7908 MB / 1.14 GB, free: 1.18 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.168e-06/1.013, allocations: 4 kB / 1.14 GB, free: 1.176 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006049/1.014, allocations: 240.6 kB / 1.14 GB, free: 0.9375 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003622/1.014, allocations: 103.9 kB / 1.14 GB, free: 0.8359 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003839/1.018, allocations: 3.021 MB / 1.143 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000971/1.019, allocations: 75.92 kB / 1.143 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.014e-05/1.019, allocations: 27.98 kB / 1.143 GB, free: 13.58 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 (pulse_m_flow.count,$PRE.pulse_m_flow.count,pulse_m_flow.T_start,$PRE.pulse_m_flow.T_start,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,20)} Notification: Performance of prepare postOptimizeDAE: time 0.0006007/1.02, allocations: 460.7 kB / 1.144 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002238/1.02, allocations: 106.7 kB / 1.144 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00154/1.022, allocations: 0.8006 MB / 1.145 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/1.022, allocations: 0 / 1.145 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/1.022, allocations: 4 kB / 1.145 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/1.022, allocations: 0 / 1.145 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002727/1.024, allocations: 1.734 MB / 1.146 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.436e-06/1.024, allocations: 4 kB / 1.146 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002748/1.025, allocations: 64.09 kB / 1.146 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005274/1.025, allocations: 246.2 kB / 1.147 GB, free: 10.08 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.638e-05/1.025, allocations: 8 kB / 1.147 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00096/1.026, allocations: 1.008 MB / 1.148 GB, free: 9.039 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/1.026, allocations: 64 / 1.148 GB, free: 9.039 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001411/1.028, allocations: 0.9088 MB / 1.149 GB, free: 8.09 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004195/1.028, allocations: 235.7 kB / 1.149 GB, free: 7.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001642/1.028, allocations: 8 kB / 1.149 GB, free: 7.832 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006711/1.029, allocations: 55.92 kB / 1.149 GB, free: 7.777 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/1.029, allocations: 24.06 kB / 1.149 GB, free: 7.754 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.393e-05/1.029, allocations: 8 kB / 1.149 GB, free: 7.746 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001183/1.03, allocations: 0.8197 MB / 1.15 GB, free: 6.918 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/1.03, allocations: 0 / 1.15 GB, free: 6.918 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001432/1.032, allocations: 475.4 kB / 1.15 GB, free: 6.453 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 (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,20)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004895/1.032, allocations: 171.2 kB / 1.15 GB, free: 6.281 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002313/1.035, allocations: 1.158 MB / 1.151 GB, free: 5.09 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/1.035, allocations: 0 / 1.151 GB, free: 5.09 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0005754/1.035, allocations: 250.6 kB / 1.152 GB, free: 4.844 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003764/1.039, allocations: 0.6294 MB / 1.152 GB, free: 4.223 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003542/1.043, allocations: 2.13 MB / 1.154 GB, free: 2.031 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008734/1.043, allocations: 1.189 MB / 1.155 GB, free: 0.8086 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002028/1.044, allocations: 67.42 kB / 1.156 GB, free: 0.7461 MB / 0.9044 GB Notification: Performance of SimCode: time 8.22e-07/1.044, allocations: 0 / 1.156 GB, free: 0.7461 MB / 0.9044 GB Notification: Performance of Templates: time 0.03253/1.076, allocations: 21.31 MB / 1.176 GB, free: 11.54 MB / 0.9356 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches