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.0008414/0.0008414, 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.0008965/0.0008966, allocations: 183.1 kB / 16.92 MB, free: 6.922 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.382/1.382, allocations: 223.3 MB / 241 MB, free: 5.363 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.369/2.369, allocations: 390.9 MB / 0.667 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003715/0.0003713, allocations: 12 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7157/0.7161, allocations: 142.4 MB / 0.9557 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp): time 0.1881/0.9042, allocations: 163.4 MB / 1.115 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.006344/0.9106, allocations: 4.051 MB / 1.119 GB, free: 7.375 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005924/0.9112, allocations: 15.94 kB / 1.119 GB, free: 7.359 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0007938/0.912, allocations: 202.9 kB / 1.119 GB, free: 7.16 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001958/0.914, allocations: 0.6225 MB / 1.12 GB, free: 6.535 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001461/0.9155, allocations: 436.3 kB / 1.12 GB, free: 6.113 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.004039/0.9195, allocations: 3.812 MB / 1.124 GB, free: 2.289 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003183/0.9227, allocations: 2.367 MB / 1.126 GB, free: 15.91 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002676/0.9254, allocations: 1.121 MB / 1.128 GB, free: 14.79 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001665/0.9271, allocations: 0.8636 MB / 1.128 GB, free: 13.92 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0003002/0.9274, allocations: 44 kB / 1.128 GB, free: 13.88 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002106/0.9295, allocations: 0.8925 MB / 1.129 GB, free: 12.98 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0005712/0.9301, allocations: 334.7 kB / 1.13 GB, free: 12.65 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001263/0.9314, allocations: 0.5962 MB / 1.13 GB, free: 12.05 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.00163/0.9331, allocations: 1.165 MB / 1.131 GB, free: 10.88 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.9331, allocations: 0 / 1.131 GB, free: 10.88 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.833e-06/0.9331, allocations: 0 / 1.131 GB, free: 10.88 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.231e-05/0.9331, allocations: 0 / 1.131 GB, free: 10.88 MB / 0.8887 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.002951/0.9361, allocations: 1.475 MB / 1.133 GB, free: 9.344 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.9361, allocations: 8.031 kB / 1.133 GB, free: 9.336 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008749/0.937, allocations: 198.3 kB / 1.133 GB, free: 9.141 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001321/0.9384, allocations: 0.8967 MB / 1.134 GB, free: 8.188 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.683e-05/0.9384, allocations: 45.31 kB / 1.134 GB, free: 8.145 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001189/0.9385, allocations: 64 kB / 1.134 GB, free: 8.082 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001498/0.94, allocations: 0.9957 MB / 1.135 GB, free: 7.008 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.9401, allocations: 3.938 kB / 1.135 GB, free: 7.004 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.855e-05/0.9402, allocations: 24 kB / 1.135 GB, free: 6.98 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.518e-05/0.9402, allocations: 16 kB / 1.135 GB, free: 6.965 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001285/0.9415, allocations: 0.7999 MB / 1.136 GB, free: 6.168 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 preOpt removeSimpleEquations (simulation): time 0.004762/0.9462, allocations: 4.812 MB / 1.14 GB, free: 1.004 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002579/0.9488, allocations: 4.022 MB / 1.144 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005113/0.9494, allocations: 353.2 kB / 1.145 GB, free: 11.81 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002861/0.9497, allocations: 194.5 kB / 1.145 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005519/0.9502, allocations: 336.9 kB / 1.145 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003646/0.9506, allocations: 31.69 kB / 1.145 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=35): time 1.893e-06/0.9506, allocations: 0 / 1.145 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of matching and sorting (n=35): time 0.005423/0.956, allocations: 1.704 MB / 1.147 GB, free: 9.469 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.776e-05/0.9561, allocations: 89.09 kB / 1.147 GB, free: 9.363 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001567/0.9577, allocations: 1.185 MB / 1.148 GB, free: 8.164 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 9.466e-05/0.9578, allocations: 37.7 kB / 1.148 GB, free: 8.121 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004795/0.9583, allocations: 0.5121 MB / 1.149 GB, free: 7.605 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001135/0.9584, allocations: 122.3 kB / 1.149 GB, free: 7.484 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.9585, allocations: 45.64 kB / 1.149 GB, free: 7.434 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.9587, allocations: 329.9 kB / 1.149 GB, free: 7.105 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004306/0.9591, allocations: 236.9 kB / 1.149 GB, free: 6.875 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006985/0.9598, allocations: 0.5719 MB / 1.15 GB, free: 6.16 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009801/0.9608, allocations: 0.6854 MB / 1.151 GB, free: 5.395 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.9608, allocations: 4 kB / 1.151 GB, free: 5.391 MB / 0.9044 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002645/0.9635, allocations: 1.154 MB / 1.152 GB, free: 4.219 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002089/0.9637, allocations: 283.3 kB / 1.152 GB, free: 3.859 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.9637, allocations: 7.938 kB / 1.152 GB, free: 3.852 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001622/0.9653, allocations: 462.5 kB / 1.152 GB, free: 3.398 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003418/0.9657, allocations: 71.89 kB / 1.153 GB, free: 3.328 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001563/0.9673, allocations: 1.124 MB / 1.154 GB, free: 2.18 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001033/0.9683, allocations: 91.91 kB / 1.154 GB, free: 2.09 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.659e-05/0.9684, allocations: 27.98 kB / 1.154 GB, free: 2.062 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 9.929e-06/0.9684, allocations: 4 kB / 1.154 GB, free: 2.059 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001724/0.9701, allocations: 0.8138 MB / 1.155 GB, free: 1.234 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.9702, allocations: 4 kB / 1.155 GB, free: 1.23 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000638/0.9708, allocations: 241 kB / 1.155 GB, free: 0.9922 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003233/0.9712, allocations: 75.89 kB / 1.155 GB, free: 0.918 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004123/0.9753, allocations: 3.111 MB / 1.158 GB, free: 13.68 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001009/0.9763, allocations: 95.75 kB / 1.158 GB, free: 13.58 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.454e-05/0.9764, allocations: 24 kB / 1.158 GB, free: 13.56 MB / 0.92 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 {(11,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0007018/0.9771, allocations: 488.4 kB / 1.158 GB, free: 13.07 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002429/0.9773, allocations: 106.7 kB / 1.159 GB, free: 12.97 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001636/0.979, allocations: 0.8281 MB / 1.159 GB, free: 12.13 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.273e-06/0.979, allocations: 4 kB / 1.159 GB, free: 12.12 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.979, allocations: 0 / 1.159 GB, free: 12.12 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.979, allocations: 3.984 kB / 1.159 GB, free: 12.12 MB / 0.92 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.003286/0.9823, allocations: 2.172 MB / 1.162 GB, free: 9.809 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/0.9823, allocations: 0 / 1.162 GB, free: 9.809 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002854/0.9826, allocations: 52.17 kB / 1.162 GB, free: 9.758 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005573/0.9832, allocations: 248.6 kB / 1.162 GB, free: 9.512 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.718e-05/0.9832, allocations: 8 kB / 1.162 GB, free: 9.504 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009473/0.9842, allocations: 0.9345 MB / 1.163 GB, free: 8.543 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.9842, allocations: 144 / 1.163 GB, free: 8.543 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001402/0.9856, allocations: 0.8905 MB / 1.164 GB, free: 7.613 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004458/0.9861, allocations: 235.7 kB / 1.164 GB, free: 7.363 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001805/0.9863, allocations: 11.94 kB / 1.164 GB, free: 7.352 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007787/0.987, allocations: 71.81 kB / 1.164 GB, free: 7.281 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.376e-05/0.9871, allocations: 27.97 kB / 1.164 GB, free: 7.254 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.065e-05/0.9872, allocations: 19.92 kB / 1.164 GB, free: 7.234 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001167/0.9884, allocations: 0.833 MB / 1.165 GB, free: 6.395 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9884, allocations: 7.938 kB / 1.165 GB, free: 6.387 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001524/0.9899, allocations: 0.5031 MB / 1.165 GB, free: 5.883 MB / 0.92 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 (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 {(11,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004739/0.9904, allocations: 181.3 kB / 1.165 GB, free: 5.703 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002734/0.9931, allocations: 1.303 MB / 1.167 GB, free: 4.363 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.9931, allocations: 4.188 kB / 1.167 GB, free: 4.359 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0006537/0.9938, allocations: 316.2 kB / 1.167 GB, free: 4.051 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003947/0.9978, allocations: 0.6545 MB / 1.168 GB, free: 3.402 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00389/1.002, allocations: 2.349 MB / 1.17 GB, free: 0.9961 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009974/1.003, allocations: 1.213 MB / 1.171 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002002/1.003, allocations: 67.44 kB / 1.171 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of SimCode: time 5.81e-07/1.003, allocations: 4 kB / 1.171 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of Templates: time 0.03397/1.037, allocations: 22.77 MB / 1.193 GB, free: 9.027 MB / 0.9512 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/jenkins1/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