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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001049/0.001049, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.01137/0.01137, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.398/1.398, allocations: 223.2 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.403/2.403, allocations: 390.9 MB / 0.6663 GB, free: 2.41 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003274/0.0003274, allocations: 19.92 kB / 0.816 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.638/0.6383, allocations: 142.4 MB / 0.955 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp): time 0.1654/0.8038, allocations: 157.3 MB / 1.109 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005223/0.8091, allocations: 3.585 MB / 1.112 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003997/0.8095, allocations: 11.94 kB / 1.112 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0005968/0.8101, allocations: 139.2 kB / 1.112 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001446/0.8116, allocations: 0.4903 MB / 1.113 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001267/0.8129, allocations: 399 kB / 1.113 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003469/0.8163, allocations: 3.508 MB / 1.117 GB, free: 9.391 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002972/0.8193, allocations: 2.234 MB / 1.119 GB, free: 7.145 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001933/0.8213, allocations: 0.9064 MB / 1.12 GB, free: 6.234 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009066/0.8222, allocations: 0.7115 MB / 1.12 GB, free: 5.52 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 8.494e-05/0.8223, allocations: 36 kB / 1.12 GB, free: 5.484 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001556/0.8239, allocations: 0.799 MB / 1.121 GB, free: 4.684 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.000287/0.8242, allocations: 286.9 kB / 1.121 GB, free: 4.402 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0006347/0.8248, allocations: 0.53 MB / 1.122 GB, free: 3.863 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001558/0.8264, allocations: 1.386 MB / 1.123 GB, free: 2.473 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.8264, allocations: 0 / 1.123 GB, free: 2.473 MB / 0.8731 GB Notification: Performance of FrontEnd: time 4.549e-06/0.8264, allocations: 0 / 1.123 GB, free: 2.473 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.513e-05/0.8264, allocations: 3.938 kB / 1.123 GB, free: 2.469 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.002127/0.8286, allocations: 1.284 MB / 1.125 GB, free: 1.125 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.8286, allocations: 15.97 kB / 1.125 GB, free: 1.109 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007743/0.8294, allocations: 190.4 kB / 1.125 GB, free: 0.9219 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001198/0.8306, allocations: 0.8101 MB / 1.126 GB, free: 56 kB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.338e-05/0.8307, allocations: 41 kB / 1.126 GB, free: 12 kB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001202/0.8308, allocations: 60.05 kB / 1.126 GB, free: 15.95 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001245/0.8321, allocations: 0.8238 MB / 1.126 GB, free: 15.05 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/0.8321, allocations: 0 / 1.126 GB, free: 15.05 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.832e-05/0.8321, allocations: 27.94 kB / 1.126 GB, free: 15.03 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.332e-05/0.8322, allocations: 12 kB / 1.126 GB, free: 15.02 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001002/0.8332, allocations: 0.5851 MB / 1.127 GB, free: 14.43 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.004202/0.8374, allocations: 4.243 MB / 1.131 GB, free: 9.918 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000774/0.8382, allocations: 450.2 kB / 1.132 GB, free: 9.469 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005085/0.8387, allocations: 346.8 kB / 1.132 GB, free: 9.129 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003097/0.839, allocations: 202.2 kB / 1.132 GB, free: 8.895 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005641/0.8396, allocations: 323.1 kB / 1.132 GB, free: 8.559 MB / 0.8887 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002705/0.8399, allocations: 31.59 kB / 1.132 GB, free: 8.527 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=33): time 2.194e-06/0.8399, allocations: 4 kB / 1.132 GB, free: 8.523 MB / 0.8887 GB Notification: Performance of matching and sorting (n=33): time 0.001528/0.8414, allocations: 0.711 MB / 1.133 GB, free: 7.805 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.836e-05/0.8415, allocations: 85.11 kB / 1.133 GB, free: 7.703 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00152/0.843, allocations: 1.151 MB / 1.134 GB, free: 6.535 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 6.554e-05/0.8431, allocations: 41.7 kB / 1.134 GB, free: 6.488 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004208/0.8435, allocations: 488.4 kB / 1.135 GB, free: 6.008 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/0.8436, allocations: 118.4 kB / 1.135 GB, free: 5.891 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.626e-05/0.8437, allocations: 45.64 kB / 1.135 GB, free: 5.84 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001998/0.8439, allocations: 326.1 kB / 1.135 GB, free: 5.516 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004133/0.8443, allocations: 240.9 kB / 1.136 GB, free: 5.281 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006383/0.845, allocations: 0.5462 MB / 1.136 GB, free: 4.602 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009202/0.8459, allocations: 0.6917 MB / 1.137 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.8459, allocations: 4 kB / 1.137 GB, free: 3.828 MB / 0.8887 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001266/0.8472, allocations: 0.7747 MB / 1.138 GB, free: 3.039 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001645/0.8474, allocations: 279.2 kB / 1.138 GB, free: 2.684 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.8474, allocations: 4 kB / 1.138 GB, free: 2.68 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.329e-05/0.8474, allocations: 11.94 kB / 1.138 GB, free: 2.668 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002185/0.8496, allocations: 375.4 kB / 1.138 GB, free: 2.301 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003587/0.8532, allocations: 6.087 MB / 1.144 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001156/0.8544, allocations: 83.95 kB / 1.144 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.113e-05/0.8545, allocations: 28.27 kB / 1.144 GB, free: 11.87 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.8545, allocations: 8 kB / 1.144 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001087/0.8556, allocations: 0.5829 MB / 1.145 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.8556, allocations: 8 kB / 1.145 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.8557, allocations: 8 kB / 1.145 GB, free: 11.26 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006575/0.8563, allocations: 156.3 kB / 1.145 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.8563, allocations: 8 kB / 1.145 GB, free: 11.1 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009926/0.8573, allocations: 71.92 kB / 1.145 GB, free: 11.03 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.151e-05/0.8574, allocations: 23.98 kB / 1.145 GB, free: 11 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_p.count,$PRE.pulse_p.count,pulse_p.T_start,$PRE.pulse_p.T_start,$whenCondition1) * 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 (not torn): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 10 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005754/0.858, allocations: 473.1 kB / 1.146 GB, free: 10.53 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001758/0.8582, allocations: 106.7 kB / 1.146 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001069/0.8592, allocations: 0.5544 MB / 1.146 GB, free: 9.863 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.8593, allocations: 4 kB / 1.146 GB, free: 9.859 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.8593, allocations: 0 / 1.146 GB, free: 9.859 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/0.8593, allocations: 7.984 kB / 1.146 GB, free: 9.852 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00228/0.8616, allocations: 1.503 MB / 1.148 GB, free: 8.273 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.8616, allocations: 0 / 1.148 GB, free: 8.273 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007545/0.8624, allocations: 159.7 kB / 1.148 GB, free: 8.117 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-06/0.8624, allocations: 7.938 kB / 1.148 GB, free: 8.109 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.865e-05/0.8624, allocations: 11.94 kB / 1.148 GB, free: 8.098 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003039/0.8654, allocations: 6.033 MB / 1.154 GB, free: 1.832 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.8655, allocations: 3.938 kB / 1.154 GB, free: 1.828 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001082/0.8666, allocations: 0.6665 MB / 1.154 GB, free: 1.125 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003881/0.867, allocations: 231.8 kB / 1.155 GB, free: 0.8789 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001139/0.8671, allocations: 8 kB / 1.155 GB, free: 0.8711 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006683/0.8678, allocations: 59.83 kB / 1.155 GB, free: 0.8125 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/0.8679, allocations: 35.91 kB / 1.155 GB, free: 0.7773 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-05/0.8679, allocations: 12 kB / 1.155 GB, free: 0.7656 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001081/0.869, allocations: 0.8159 MB / 1.156 GB, free: 15.94 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.1e-07/0.869, allocations: 0 / 1.156 GB, free: 15.94 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001202/0.8702, allocations: 427.5 kB / 1.156 GB, free: 15.52 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_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 (not torn): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 10 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004453/0.8707, allocations: 182.9 kB / 1.156 GB, free: 15.35 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.003555/0.8742, allocations: 1.202 MB / 1.157 GB, free: 14.12 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 7.874e-06/0.8743, allocations: 5.375 kB / 1.157 GB, free: 14.12 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.000898/0.8752, allocations: 336 kB / 1.158 GB, free: 13.79 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003753/0.8789, allocations: 0.6255 MB / 1.158 GB, free: 13.17 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003053/0.882, allocations: 2.208 MB / 1.16 GB, free: 10.92 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007243/0.8828, allocations: 1.182 MB / 1.162 GB, free: 9.703 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001087/0.8838, allocations: 376.3 kB / 1.162 GB, free: 9.332 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001524/0.884, allocations: 67.44 kB / 1.162 GB, free: 9.266 MB / 0.92 GB Notification: Performance of SimCode: time 5.41e-07/0.884, allocations: 0 / 1.162 GB, free: 9.266 MB / 0.92 GB Notification: Performance of Templates: time 0.03267/0.9167, allocations: 19.98 MB / 1.181 GB, free: 5.496 MB / 0.9356 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches