Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.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.ParallelDp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001226/0.001231, allocations: 99.86 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.001531/0.001531, 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.402/1.402, allocations: 223.2 MB / 239.9 MB, free: 5.438 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.463/2.463, allocations: 390.3 MB / 0.6653 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003039/0.0003039, allocations: 8 kB / 0.8145 GB, free: 14.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6303/0.6306, allocations: 142.3 MB / 0.9535 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp): time 0.1511/0.7817, allocations: 135.7 MB / 1.086 GB, free: 8.113 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.004769/0.7865, allocations: 3.106 MB / 1.089 GB, free: 5.004 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000431/0.787, allocations: 11.94 kB / 1.089 GB, free: 4.992 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.000719/0.7877, allocations: 175.2 kB / 1.089 GB, free: 4.82 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001634/0.7894, allocations: 0.5132 MB / 1.09 GB, free: 4.309 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001459/0.7908, allocations: 449.3 kB / 1.09 GB, free: 3.875 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.002116/0.793, allocations: 1.526 MB / 1.092 GB, free: 2.34 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002936/0.7959, allocations: 2.192 MB / 1.094 GB, free: 140 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001629/0.7976, allocations: 0.7007 MB / 1.094 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006475/0.7982, allocations: 489.9 kB / 1.095 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.136e-05/0.7983, allocations: 32 kB / 1.095 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001008/0.7993, allocations: 415.3 kB / 1.095 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000271/0.7996, allocations: 259.1 kB / 1.096 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000287/0.7999, allocations: 233.1 kB / 1.096 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001057/0.801, allocations: 0.9821 MB / 1.097 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.801, allocations: 4 kB / 1.097 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.917e-06/0.801, allocations: 4 kB / 1.097 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.504e-05/0.801, allocations: 0 / 1.097 GB, free: 13.04 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.002394/0.8034, allocations: 1.315 MB / 1.098 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.8035, allocations: 8.031 kB / 1.098 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008041/0.8043, allocations: 190.4 kB / 1.098 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001767/0.8061, allocations: 0.8002 MB / 1.099 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.61e-05/0.8061, allocations: 41 kB / 1.099 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.845e-05/0.8063, allocations: 63.94 kB / 1.099 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001366/0.8076, allocations: 0.8161 MB / 1.1 GB, free: 9.613 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.8077, allocations: 4 kB / 1.1 GB, free: 9.609 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.01e-05/0.8077, allocations: 24 kB / 1.1 GB, free: 9.586 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.741e-05/0.8077, allocations: 15.94 kB / 1.1 GB, free: 9.57 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001015/0.8088, allocations: 0.5696 MB / 1.101 GB, free: 9 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.004648/0.8134, allocations: 4.262 MB / 1.105 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007741/0.8142, allocations: 465.1 kB / 1.105 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 6.444e-05/0.8143, allocations: 8 kB / 1.105 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005573/0.8149, allocations: 343.9 kB / 1.106 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003695/0.8152, allocations: 35.53 kB / 1.106 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=33): time 2.495e-06/0.8153, allocations: 0 / 1.106 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of matching and sorting (n=33): time 0.001528/0.8168, allocations: 0.7172 MB / 1.106 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.147e-05/0.8169, allocations: 106.8 kB / 1.106 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001451/0.8183, allocations: 1.147 MB / 1.107 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.089e-05/0.8184, allocations: 37.7 kB / 1.108 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004471/0.8189, allocations: 492.4 kB / 1.108 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.00011/0.819, allocations: 114.4 kB / 1.108 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.46e-05/0.819, allocations: 8 kB / 1.108 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.8191, allocations: 334 kB / 1.108 GB, free: 0.6133 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003605/0.8195, allocations: 205 kB / 1.109 GB, free: 424 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000591/0.8201, allocations: 0.5228 MB / 1.109 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005042/0.8206, allocations: 317.7 kB / 1.109 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.8206, allocations: 0 / 1.109 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001167/0.8218, allocations: 0.7329 MB / 1.11 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008876/0.8227, allocations: 2.125 MB / 1.112 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.498e-05/0.8227, allocations: 11.94 kB / 1.112 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.7e-05/0.8228, allocations: 8 kB / 1.112 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002307/0.8251, allocations: 399.3 kB / 1.113 GB, free: 12 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003517/0.8286, allocations: 6.091 MB / 1.119 GB, free: 5.672 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001148/0.8298, allocations: 87.84 kB / 1.119 GB, free: 5.586 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7e-05/0.8299, allocations: 27.98 kB / 1.119 GB, free: 5.559 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.8299, allocations: 5.719 kB / 1.119 GB, free: 5.555 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001023/0.8309, allocations: 0.587 MB / 1.119 GB, free: 4.961 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.8309, allocations: 7.984 kB / 1.119 GB, free: 4.953 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.831, allocations: 8 kB / 1.119 GB, free: 4.945 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006397/0.8316, allocations: 156.1 kB / 1.119 GB, free: 4.793 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.064e-05/0.8316, allocations: 15.94 kB / 1.119 GB, free: 4.777 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001039/0.8327, allocations: 87.75 kB / 1.12 GB, free: 4.691 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.213e-05/0.8327, allocations: 23.94 kB / 1.12 GB, free: 4.668 MB / 0.8731 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_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006757/0.8334, allocations: 472.7 kB / 1.12 GB, free: 4.195 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001966/0.8336, allocations: 102.8 kB / 1.12 GB, free: 4.094 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009815/0.8346, allocations: 0.5297 MB / 1.121 GB, free: 3.559 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.8346, allocations: 4 kB / 1.121 GB, free: 3.555 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.8346, allocations: 0 / 1.121 GB, free: 3.555 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.8347, allocations: 0 / 1.121 GB, free: 3.555 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001652/0.8363, allocations: 1.166 MB / 1.122 GB, free: 2.312 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.8363, allocations: 4 kB / 1.122 GB, free: 2.309 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007526/0.8371, allocations: 152 kB / 1.122 GB, free: 2.16 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.346e-06/0.8371, allocations: 8 kB / 1.122 GB, free: 2.152 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.302e-05/0.8371, allocations: 8 kB / 1.122 GB, free: 2.145 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003043/0.8402, allocations: 6.028 MB / 1.128 GB, free: 11.88 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.8402, allocations: 0 / 1.128 GB, free: 11.88 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00112/0.8414, allocations: 0.6909 MB / 1.128 GB, free: 11.12 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004555/0.8418, allocations: 227.8 kB / 1.129 GB, free: 10.88 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001166/0.8419, allocations: 15.92 kB / 1.129 GB, free: 10.86 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006132/0.8426, allocations: 71.78 kB / 1.129 GB, free: 10.79 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.4e-05/0.8427, allocations: 32.14 kB / 1.129 GB, free: 10.76 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.043e-05/0.8427, allocations: 19.98 kB / 1.129 GB, free: 10.74 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001016/0.8437, allocations: 0.812 MB / 1.13 GB, free: 9.918 MB / 0.8887 GB Notification: Performance of sort global known variables: time 4.01e-07/0.8437, allocations: 0 / 1.13 GB, free: 9.918 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001215/0.845, allocations: 431.4 kB / 1.13 GB, free: 9.496 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_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * 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): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004407/0.8454, allocations: 183.5 kB / 1.13 GB, free: 9.316 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.003445/0.8489, allocations: 1.203 MB / 1.131 GB, free: 8.09 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 6.161e-06/0.8489, allocations: 1.375 kB / 1.131 GB, free: 8.09 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008485/0.8498, allocations: 327.4 kB / 1.132 GB, free: 7.773 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003401/0.8532, allocations: 0.6358 MB / 1.132 GB, free: 7.145 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003385/0.8566, allocations: 2.105 MB / 1.134 GB, free: 4.984 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007085/0.8573, allocations: 1.205 MB / 1.136 GB, free: 3.75 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001192/0.8585, allocations: 400 kB / 1.136 GB, free: 3.355 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001598/0.8587, allocations: 67.44 kB / 1.136 GB, free: 3.289 MB / 0.8887 GB Notification: Performance of SimCode: time 9.22e-07/0.8587, allocations: 0 / 1.136 GB, free: 3.289 MB / 0.8887 GB Notification: Performance of Templates: time 0.03328/0.892, allocations: 19.46 MB / 1.155 GB, free: 32 kB / 0.9044 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDp.csv","../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches