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.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.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.0008322/0.0008322, allocations: 98.88 kB / 16.02 MB, free: 76 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.001056/0.001055, allocations: 185.9 kB / 16.92 MB, free: 6.766 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.423/1.423, allocations: 223.3 MB / 241 MB, free: 5.324 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.412/2.412, allocations: 390.9 MB / 0.667 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003726/0.0003727, allocations: 11.94 kB / 0.8166 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6996/0.7, allocations: 142.4 MB / 0.9557 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.1729/0.873, allocations: 157.3 MB / 1.109 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004965/0.878, allocations: 3.595 MB / 1.113 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003888/0.8784, allocations: 7.938 kB / 1.113 GB, free: 13.9 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0005575/0.879, allocations: 143.1 kB / 1.113 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001339/0.8803, allocations: 498 kB / 1.113 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001137/0.8815, allocations: 387.5 kB / 1.114 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.00344/0.8849, allocations: 3.524 MB / 1.117 GB, free: 9.359 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002831/0.8878, allocations: 2.226 MB / 1.119 GB, free: 7.121 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001829/0.8896, allocations: 0.9025 MB / 1.12 GB, free: 6.215 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001109/0.8907, allocations: 0.7194 MB / 1.121 GB, free: 5.492 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002018/0.891, allocations: 32 kB / 1.121 GB, free: 5.461 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001849/0.8928, allocations: 0.799 MB / 1.122 GB, free: 4.66 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0004701/0.8933, allocations: 286.8 kB / 1.122 GB, free: 4.379 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0008195/0.8941, allocations: 0.5262 MB / 1.123 GB, free: 3.844 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001276/0.8954, allocations: 1.029 MB / 1.124 GB, free: 2.812 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.8954, allocations: 0 / 1.124 GB, free: 2.812 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.453e-06/0.8955, allocations: 0 / 1.124 GB, free: 2.812 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.46e-05/0.8955, allocations: 3.938 kB / 1.124 GB, free: 2.809 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.002086/0.8976, allocations: 1.288 MB / 1.125 GB, free: 1.461 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.8976, allocations: 12.03 kB / 1.125 GB, free: 1.449 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007469/0.8984, allocations: 190.4 kB / 1.125 GB, free: 1.262 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001155/0.8995, allocations: 0.8062 MB / 1.126 GB, free: 408 kB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.45e-05/0.8996, allocations: 48.94 kB / 1.126 GB, free: 356 kB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.411e-05/0.8997, allocations: 56 kB / 1.126 GB, free: 300 kB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001267/0.901, allocations: 0.8318 MB / 1.127 GB, free: 15.38 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.901, allocations: 0 / 1.127 GB, free: 15.38 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.517e-05/0.9011, allocations: 24 kB / 1.127 GB, free: 15.36 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.483e-05/0.9011, allocations: 12 kB / 1.127 GB, free: 15.35 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009178/0.902, allocations: 0.5773 MB / 1.127 GB, free: 14.77 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.003878/0.9059, allocations: 4.254 MB / 1.132 GB, free: 10.25 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007451/0.9066, allocations: 447.2 kB / 1.132 GB, free: 9.805 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000475/0.9071, allocations: 346.8 kB / 1.132 GB, free: 9.465 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000293/0.9074, allocations: 198.2 kB / 1.132 GB, free: 9.234 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005167/0.908, allocations: 327.1 kB / 1.133 GB, free: 8.895 MB / 0.8887 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002235/0.9082, allocations: 31.59 kB / 1.133 GB, free: 8.863 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=33): time 1.824e-06/0.9082, allocations: 0 / 1.133 GB, free: 8.863 MB / 0.8887 GB Notification: Performance of matching and sorting (n=33): time 0.001358/0.9096, allocations: 0.7188 MB / 1.134 GB, free: 8.137 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.351e-05/0.9096, allocations: 85.09 kB / 1.134 GB, free: 8.035 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001315/0.911, allocations: 1.147 MB / 1.135 GB, free: 6.871 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 5.562e-05/0.911, allocations: 41.81 kB / 1.135 GB, free: 6.824 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004197/0.9114, allocations: 492.3 kB / 1.135 GB, free: 6.34 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 8.885e-05/0.9115, allocations: 118.3 kB / 1.135 GB, free: 6.223 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.62e-05/0.9116, allocations: 53.69 kB / 1.135 GB, free: 6.164 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.9117, allocations: 322 kB / 1.136 GB, free: 5.844 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003918/0.9121, allocations: 236.9 kB / 1.136 GB, free: 5.613 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006027/0.9128, allocations: 0.5423 MB / 1.136 GB, free: 4.938 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000906/0.9137, allocations: 0.6958 MB / 1.137 GB, free: 4.164 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.9137, allocations: 0 / 1.137 GB, free: 4.164 MB / 0.8887 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001208/0.9149, allocations: 0.7786 MB / 1.138 GB, free: 3.371 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001669/0.9151, allocations: 275.3 kB / 1.138 GB, free: 3.02 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.9151, allocations: 4 kB / 1.138 GB, free: 3.016 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/0.9151, allocations: 11.94 kB / 1.138 GB, free: 3.004 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005286/0.9157, allocations: 123.8 kB / 1.138 GB, free: 2.883 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.367e-05/0.9157, allocations: 8 kB / 1.138 GB, free: 2.875 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007988/0.9165, allocations: 95.75 kB / 1.138 GB, free: 2.781 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.91e-05/0.9165, allocations: 23.94 kB / 1.138 GB, free: 2.758 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 7.144e-06/0.9166, allocations: 4 kB / 1.138 GB, free: 2.754 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009092/0.9175, allocations: 0.5834 MB / 1.139 GB, free: 2.164 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.9175, allocations: 4 kB / 1.139 GB, free: 2.16 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.765e-06/0.9175, allocations: 12.03 kB / 1.139 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004381/0.9179, allocations: 111.8 kB / 1.139 GB, free: 2.039 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.534e-05/0.918, allocations: 15.97 kB / 1.139 GB, free: 2.023 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007187/0.9187, allocations: 75.92 kB / 1.139 GB, free: 1.949 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.379e-05/0.9187, allocations: 20 kB / 1.139 GB, free: 1.93 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.0004861/0.9192, allocations: 476.5 kB / 1.14 GB, free: 1.453 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001157/0.9193, allocations: 110.7 kB / 1.14 GB, free: 1.344 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000951/0.9203, allocations: 0.5544 MB / 1.14 GB, free: 0.7812 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/0.9203, allocations: 4 kB / 1.14 GB, free: 0.7773 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.9203, allocations: 4 kB / 1.14 GB, free: 0.7734 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.9203, allocations: 0 / 1.14 GB, free: 0.7734 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002013/0.9224, allocations: 1.503 MB / 1.142 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.9224, allocations: 0 / 1.142 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003417/0.9227, allocations: 76.03 kB / 1.142 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.233e-06/0.9227, allocations: 8 kB / 1.142 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.334e-05/0.9228, allocations: 8 kB / 1.142 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.9228, allocations: 4 kB / 1.142 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.9228, allocations: 7.938 kB / 1.142 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008672/0.9237, allocations: 0.6625 MB / 1.143 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002865/0.924, allocations: 235.8 kB / 1.143 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/0.9241, allocations: 8 kB / 1.143 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006229/0.9247, allocations: 63.83 kB / 1.143 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.566e-05/0.9248, allocations: 31.89 kB / 1.143 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.293e-05/0.9248, allocations: 8 kB / 1.143 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0009366/0.9258, allocations: 0.8199 MB / 1.144 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9258, allocations: 0 / 1.144 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001044/0.9268, allocations: 423.5 kB / 1.144 GB, free: 12.79 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.0004327/0.9273, allocations: 194.2 kB / 1.144 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001421/0.9287, allocations: 0.9199 MB / 1.145 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.9287, allocations: 0 / 1.145 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0003824/0.9291, allocations: 235.9 kB / 1.145 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00373/0.9328, allocations: 0.6242 MB / 1.146 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00315/0.936, allocations: 2.126 MB / 1.148 GB, free: 8.633 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007142/0.9367, allocations: 1.186 MB / 1.149 GB, free: 7.414 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002172/0.937, allocations: 75.42 kB / 1.149 GB, free: 7.34 MB / 0.9044 GB Notification: Performance of SimCode: time 1.032e-06/0.937, allocations: 0 / 1.149 GB, free: 7.34 MB / 0.9044 GB Notification: Performance of Templates: time 0.02686/0.9638, allocations: 17.04 MB / 1.166 GB, free: 6.426 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/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