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.001164/0.001164, allocations: 91.45 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.00853/0.00853, allocations: 172.5 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.416/1.416, allocations: 223.3 MB / 240.3 MB, free: 5.332 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.336/2.336, allocations: 390.9 MB / 0.6663 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004135/0.0004137, allocations: 12 kB / 0.816 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6723/0.6728, allocations: 142.4 MB / 0.955 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.1606/0.8335, allocations: 157.3 MB / 1.109 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005164/0.8386, allocations: 3.593 MB / 1.112 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004035/0.8391, allocations: 7.938 kB / 1.112 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0005263/0.8396, allocations: 135.2 kB / 1.112 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001366/0.841, allocations: 0.4902 MB / 1.113 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001202/0.8422, allocations: 396.5 kB / 1.113 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003252/0.8455, allocations: 3.516 MB / 1.117 GB, free: 9.348 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002586/0.8481, allocations: 2.23 MB / 1.119 GB, free: 7.105 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001601/0.8497, allocations: 0.9103 MB / 1.12 GB, free: 6.191 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009428/0.8507, allocations: 0.7116 MB / 1.12 GB, free: 5.477 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001084/0.8508, allocations: 32 kB / 1.12 GB, free: 5.445 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001324/0.8521, allocations: 0.799 MB / 1.121 GB, free: 4.645 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002735/0.8524, allocations: 282.9 kB / 1.121 GB, free: 4.367 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0005992/0.853, allocations: 0.5301 MB / 1.122 GB, free: 3.828 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001397/0.8544, allocations: 1.382 MB / 1.123 GB, free: 2.441 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.8544, allocations: 0 / 1.123 GB, free: 2.441 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.313e-06/0.8544, allocations: 3.938 kB / 1.123 GB, free: 2.438 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.388e-05/0.8544, allocations: 0 / 1.123 GB, free: 2.438 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.001899/0.8564, allocations: 1.292 MB / 1.125 GB, free: 1.086 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.8564, allocations: 8.031 kB / 1.125 GB, free: 1.078 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007252/0.8571, allocations: 198.4 kB / 1.125 GB, free: 0.8828 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/0.8582, allocations: 0.8062 MB / 1.126 GB, free: 20 kB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.203e-05/0.8583, allocations: 45.08 kB / 1.126 GB, free: 15.97 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.437e-05/0.8584, allocations: 56 kB / 1.126 GB, free: 15.91 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001123/0.8595, allocations: 0.8239 MB / 1.126 GB, free: 15.02 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.054e-05/0.8595, allocations: 7.938 kB / 1.126 GB, free: 15.01 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.321e-05/0.8596, allocations: 20 kB / 1.126 GB, free: 14.99 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.325e-05/0.8596, allocations: 16 kB / 1.126 GB, free: 14.97 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009276/0.8605, allocations: 0.5812 MB / 1.127 GB, free: 14.39 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.003576/0.8641, allocations: 4.246 MB / 1.131 GB, free: 9.879 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000722/0.8648, allocations: 446.2 kB / 1.132 GB, free: 9.434 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004828/0.8653, allocations: 354.7 kB / 1.132 GB, free: 9.086 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002716/0.8656, allocations: 198.2 kB / 1.132 GB, free: 8.855 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005121/0.8661, allocations: 323.1 kB / 1.132 GB, free: 8.52 MB / 0.8887 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001985/0.8664, allocations: 39.59 kB / 1.133 GB, free: 8.48 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=33): time 1.964e-06/0.8664, allocations: 0 / 1.133 GB, free: 8.48 MB / 0.8887 GB Notification: Performance of matching and sorting (n=33): time 0.00134/0.8677, allocations: 0.711 MB / 1.133 GB, free: 7.762 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.944e-05/0.8678, allocations: 81.11 kB / 1.133 GB, free: 7.664 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001262/0.869, allocations: 1.155 MB / 1.134 GB, free: 6.492 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 4.445e-05/0.8691, allocations: 37.7 kB / 1.134 GB, free: 6.449 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003673/0.8695, allocations: 488.4 kB / 1.135 GB, free: 5.969 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 8.952e-05/0.8696, allocations: 118.4 kB / 1.135 GB, free: 5.852 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.239e-05/0.8696, allocations: 41.81 kB / 1.135 GB, free: 5.805 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.8697, allocations: 333.9 kB / 1.135 GB, free: 5.473 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003871/0.8701, allocations: 236.9 kB / 1.136 GB, free: 5.242 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005959/0.8707, allocations: 0.554 MB / 1.136 GB, free: 4.555 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008897/0.8716, allocations: 0.688 MB / 1.137 GB, free: 3.789 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.8717, allocations: 4 kB / 1.137 GB, free: 3.785 MB / 0.8887 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.00116/0.8728, allocations: 0.7786 MB / 1.138 GB, free: 2.992 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001489/0.873, allocations: 271.3 kB / 1.138 GB, free: 2.645 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.873, allocations: 11.94 kB / 1.138 GB, free: 2.633 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.873, allocations: 11.94 kB / 1.138 GB, free: 2.621 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005142/0.8735, allocations: 111.9 kB / 1.138 GB, free: 2.512 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.587e-05/0.8736, allocations: 15.92 kB / 1.138 GB, free: 2.496 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007671/0.8743, allocations: 83.77 kB / 1.138 GB, free: 2.414 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.008e-05/0.8744, allocations: 27.98 kB / 1.138 GB, free: 2.387 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 6.933e-06/0.8744, allocations: 4 kB / 1.138 GB, free: 2.383 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008934/0.8753, allocations: 0.5789 MB / 1.139 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.8753, allocations: 12 kB / 1.139 GB, free: 1.785 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.183e-06/0.8753, allocations: 8 kB / 1.139 GB, free: 1.777 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004421/0.8758, allocations: 116.4 kB / 1.139 GB, free: 1.664 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.8758, allocations: 8 kB / 1.139 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006913/0.8765, allocations: 75.91 kB / 1.139 GB, free: 1.582 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.498e-05/0.8766, allocations: 24 kB / 1.139 GB, free: 1.559 MB / 0.8887 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.0004332/0.877, allocations: 472.6 kB / 1.139 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.8771, allocations: 106.7 kB / 1.139 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000921/0.878, allocations: 0.5583 MB / 1.14 GB, free: 424 kB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.878, allocations: 4 kB / 1.14 GB, free: 420 kB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.8781, allocations: 0 / 1.14 GB, free: 420 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.8781, allocations: 0 / 1.14 GB, free: 420 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001935/0.88, allocations: 1.503 MB / 1.141 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.88, allocations: 4 kB / 1.141 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003422/0.8804, allocations: 83.75 kB / 1.142 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.8804, allocations: 4 kB / 1.142 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.211e-05/0.8804, allocations: 8 kB / 1.142 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.8804, allocations: 4.219 kB / 1.142 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.8804, allocations: 7.938 kB / 1.142 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000827/0.8813, allocations: 0.6625 MB / 1.142 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002729/0.8815, allocations: 227.8 kB / 1.142 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001017/0.8817, allocations: 12 kB / 1.142 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006198/0.8823, allocations: 59.83 kB / 1.142 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.215e-05/0.8824, allocations: 35.91 kB / 1.143 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.389e-05/0.8824, allocations: 12 kB / 1.143 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0008932/0.8833, allocations: 0.8199 MB / 1.143 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8833, allocations: 0 / 1.143 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0009702/0.8843, allocations: 427.5 kB / 1.144 GB, free: 12.42 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_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.0003629/0.8846, allocations: 179.1 kB / 1.144 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001328/0.886, allocations: 0.923 MB / 1.145 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.886, allocations: 4 kB / 1.145 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0003802/0.8864, allocations: 233 kB / 1.145 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003372/0.8898, allocations: 0.6365 MB / 1.146 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002527/0.8923, allocations: 2.078 MB / 1.148 GB, free: 8.312 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006561/0.893, allocations: 1.186 MB / 1.149 GB, free: 7.094 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001016/0.894, allocations: 412.3 kB / 1.149 GB, free: 6.688 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001779/0.8942, allocations: 79.42 kB / 1.149 GB, free: 6.609 MB / 0.9044 GB Notification: Performance of SimCode: time 4.21e-07/0.8942, allocations: 3.938 kB / 1.149 GB, free: 6.605 MB / 0.9044 GB Notification: Performance of Templates: time 0.02867/0.9229, allocations: 19.1 MB / 1.168 GB, free: 3.742 MB / 0.92 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/jenkins/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