Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.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.ParallelDpOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001586/0.001586, allocations: 109.3 kB / 15.99 MB, free: 6.359 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.00181/0.001811, allocations: 194.5 kB / 16.91 MB, free: 6.195 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.336/1.336, allocations: 222.9 MB / 240.6 MB, free: 15.37 MB / 206.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.255/2.255, allocations: 390.2 MB / 0.665 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 66.61 kB / 0.8127 GB, free: 33.21 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2834/0.2847, allocations: 140.4 MB / 0.9498 GB, free: 9.211 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.6702/0.9549, allocations: 159.4 MB / 1.105 GB, free: 6.133 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005321/0.9603, allocations: 3.596 MB / 1.109 GB, free: 6.031 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005332/0.9609, allocations: 11.53 kB / 1.109 GB, free: 6.031 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000632/0.9616, allocations: 140.3 kB / 1.109 GB, free: 6.027 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001584/0.9632, allocations: 0.4969 MB / 1.11 GB, free: 5.996 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001406/0.9646, allocations: 397 kB / 1.11 GB, free: 5.984 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003387/0.968, allocations: 2.594 MB / 1.112 GB, free: 5.961 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003331/0.9713, allocations: 2.399 MB / 1.115 GB, free: 5.629 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002817/0.9742, allocations: 1.077 MB / 1.116 GB, free: 5.617 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001516/0.9757, allocations: 0.757 MB / 1.117 GB, free: 5.617 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001544/0.9759, allocations: 57.53 kB / 1.117 GB, free: 5.617 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002087/0.978, allocations: 0.762 MB / 1.117 GB, free: 5.609 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0005135/0.9785, allocations: 316.8 kB / 1.118 GB, free: 5.605 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001082/0.9796, allocations: 0.5476 MB / 1.118 GB, free: 5.605 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001718/0.9813, allocations: 1.061 MB / 1.119 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.9813, allocations: 0 / 1.119 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.274e-06/0.9813, allocations: 0 / 1.119 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.98e-05/0.9814, allocations: 0 / 1.119 GB, free: 5.504 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.002788/0.9842, allocations: 1.456 MB / 1.121 GB, free: 20.66 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.9842, allocations: 10.31 kB / 1.121 GB, free: 20.66 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008688/0.9851, allocations: 188.7 kB / 1.121 GB, free: 20.59 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001415/0.9865, allocations: 0.8068 MB / 1.122 GB, free: 20.23 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.591e-05/0.9866, allocations: 43.44 kB / 1.122 GB, free: 20.23 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001321/0.9867, allocations: 59.38 kB / 1.122 GB, free: 20.23 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001435/0.9882, allocations: 0.8235 MB / 1.123 GB, free: 20 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.048e-05/0.9882, allocations: 3.594 kB / 1.123 GB, free: 20 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.751e-05/0.9883, allocations: 20.94 kB / 1.123 GB, free: 20 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.836e-05/0.9883, allocations: 13.86 kB / 1.123 GB, free: 20 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001004/0.9893, allocations: 0.571 MB / 1.123 GB, free: 19.98 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.004055/0.9934, allocations: 4.215 MB / 1.127 GB, free: 17.1 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007803/0.9942, allocations: 431 kB / 1.128 GB, free: 17.07 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004744/0.9947, allocations: 339.4 kB / 1.128 GB, free: 17.07 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003109/0.995, allocations: 199 kB / 1.128 GB, free: 16.88 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005382/0.9955, allocations: 321.9 kB / 1.129 GB, free: 16.81 MB / 0.8731 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004529/0.996, allocations: 36.78 kB / 1.129 GB, free: 16.79 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=33): time 3.336e-06/0.996, allocations: 0 / 1.129 GB, free: 16.79 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33): time 0.001451/0.9975, allocations: 0.7132 MB / 1.129 GB, free: 16.68 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.668e-05/0.9975, allocations: 80.58 kB / 1.129 GB, free: 16.59 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001437/0.999, allocations: 1.155 MB / 1.13 GB, free: 16.44 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.687e-05/0.9991, allocations: 37.77 kB / 1.131 GB, free: 16.41 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003649/0.9994, allocations: 486.5 kB / 1.131 GB, free: 16.25 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 8.38e-05/0.9995, allocations: 120 kB / 1.131 GB, free: 16.17 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001819/0.9997, allocations: 117 kB / 1.131 GB, free: 16.15 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.9999, allocations: 330.8 kB / 1.132 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000397/1, allocations: 232.3 kB / 1.132 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005834/1.001, allocations: 0.5414 MB / 1.132 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008449/1.002, allocations: 0.6736 MB / 1.133 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/1.002, allocations: 3.938 kB / 1.133 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001346/1.003, allocations: 0.7739 MB / 1.134 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 4.495e-05/1.003, allocations: 34.02 kB / 1.134 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/1.003, allocations: 5.406 kB / 1.134 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.492e-05/1.003, allocations: 10.41 kB / 1.134 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000518/1.004, allocations: 112.4 kB / 1.134 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.827e-05/1.004, allocations: 13.06 kB / 1.134 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001021/1.005, allocations: 79.09 kB / 1.134 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.944e-05/1.005, allocations: 34.34 kB / 1.134 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008132/1.006, allocations: 0.5201 MB / 1.134 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004994/1.006, allocations: 0.5013 MB / 1.135 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007116/1.007, allocations: 0.5916 MB / 1.136 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.899e-06/1.007, allocations: 1.656 kB / 1.136 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.001184/1.008, allocations: 0.6923 MB / 1.136 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.59e-05/1.008, allocations: 38.81 kB / 1.136 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/1.008, allocations: 5.75 kB / 1.136 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/1.008, allocations: 7.875 kB / 1.136 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004519/1.009, allocations: 113.5 kB / 1.136 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.34e-05/1.009, allocations: 11.75 kB / 1.136 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001003/1.01, allocations: 90.19 kB / 1.136 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-05/1.01, allocations: 21.97 kB / 1.136 GB, free: 14.21 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 (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): 54 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000256/1.01, allocations: 223.8 kB / 1.137 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002/1.01, allocations: 100 kB / 1.137 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001162/1.011, allocations: 0.5442 MB / 1.137 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.765e-06/1.011, allocations: 4.094 kB / 1.137 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.046e-06/1.011, allocations: 1.125 kB / 1.137 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.345e-06/1.011, allocations: 3.938 kB / 1.137 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002774/1.014, allocations: 1.493 MB / 1.139 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/1.014, allocations: 1.375 kB / 1.139 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003452/1.015, allocations: 73.55 kB / 1.139 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.679e-06/1.015, allocations: 3.125 kB / 1.139 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.294e-05/1.015, allocations: 12.23 kB / 1.139 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.933e-06/1.015, allocations: 6.438 kB / 1.139 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/1.015, allocations: 5.625 kB / 1.139 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001019/1.016, allocations: 0.6565 MB / 1.14 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000521/1.016, allocations: 225.7 kB / 1.14 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000266/1.016, allocations: 6.812 kB / 1.14 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007694/1.017, allocations: 56.94 kB / 1.14 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/1.017, allocations: 27.22 kB / 1.14 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.981e-05/1.017, allocations: 16.14 kB / 1.14 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001408/1.019, allocations: 0.8207 MB / 1.141 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.61e-07/1.019, allocations: 0 / 1.141 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001869/1.021, allocations: 435.1 kB / 1.141 GB, free: 12.91 MB / 0.8731 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): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00051/1.021, allocations: 170.8 kB / 1.141 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.00175/1.023, allocations: 0.9601 MB / 1.142 GB, free: 12.65 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/1.023, allocations: 0 / 1.142 GB, free: 12.65 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0004183/1.023, allocations: 229.4 kB / 1.142 GB, free: 12.65 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00254/1.026, allocations: 0.5011 MB / 1.143 GB, free: 12.56 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003343/1.029, allocations: 2.112 MB / 1.145 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007991/1.03, allocations: 1.182 MB / 1.146 GB, free: 10.85 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003244/1.03, allocations: 81.14 kB / 1.146 GB, free: 10.84 MB / 0.8731 GB Notification: Performance of SimCode: time 3.055e-06/1.03, allocations: 0 / 1.146 GB, free: 10.84 MB / 0.8731 GB Notification: Performance of Templates: time 0.02723/1.058, allocations: 16.54 MB / 1.162 GB, free: 5.945 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches