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.007854/0.007854, allocations: 105.4 kB / 15.74 MB, free: 6.039 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.001586/0.001586, allocations: 195.2 kB / 16.67 MB, free: 5.973 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.46/1.46, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.35/2.35, allocations: 390.2 MB / 0.6648 GB, free: 128 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 63.94 kB / 0.9509 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2689/0.2702, allocations: 140.4 MB / 1.088 GB, free: 1.438 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.1717/0.4419, allocations: 161.6 MB / 1.246 GB, free: 15.2 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004628/0.4466, allocations: 3.629 MB / 1.249 GB, free: 11.56 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000226/0.4469, allocations: 11.94 kB / 1.249 GB, free: 11.55 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0005512/0.4475, allocations: 174.9 kB / 1.249 GB, free: 11.38 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001257/0.4487, allocations: 0.5471 MB / 1.25 GB, free: 10.83 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001181/0.4499, allocations: 444.9 kB / 1.25 GB, free: 10.4 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002646/0.4526, allocations: 2.583 MB / 1.253 GB, free: 7.805 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002901/0.4555, allocations: 2.411 MB / 1.255 GB, free: 5.387 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001957/0.4575, allocations: 1.051 MB / 1.256 GB, free: 4.332 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009584/0.4585, allocations: 0.7078 MB / 1.257 GB, free: 3.621 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001319/0.4586, allocations: 60 kB / 1.257 GB, free: 3.562 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00155/0.4602, allocations: 0.7523 MB / 1.258 GB, free: 2.809 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.000366/0.4605, allocations: 314.9 kB / 1.258 GB, free: 2.5 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0007158/0.4613, allocations: 0.544 MB / 1.259 GB, free: 1.953 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00177/0.463, allocations: 1.425 MB / 1.26 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.4631, allocations: 0 / 1.26 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.543e-06/0.4631, allocations: 0 / 1.26 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.257e-05/0.4631, allocations: 0 / 1.26 GB, free: 0.5234 MB / 1.014 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.5218/0.9849, allocations: 1.453 MB / 1.261 GB, free: 176.4 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.985, allocations: 9.656 kB / 1.261 GB, free: 176.4 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008428/0.9858, allocations: 184.5 kB / 1.262 GB, free: 176.3 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001432/0.9872, allocations: 0.8556 MB / 1.262 GB, free: 175.9 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.188e-05/0.9873, allocations: 48.38 kB / 1.263 GB, free: 175.9 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.846e-05/0.9874, allocations: 57.69 kB / 1.263 GB, free: 175.9 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001394/0.9888, allocations: 0.8192 MB / 1.263 GB, free: 175.7 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.028e-05/0.9888, allocations: 1.781 kB / 1.263 GB, free: 175.7 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.852e-05/0.9889, allocations: 29.31 kB / 1.263 GB, free: 175.7 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.956e-05/0.9889, allocations: 14.06 kB / 1.263 GB, free: 175.7 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001061/0.99, allocations: 0.5626 MB / 1.264 GB, free: 175.7 MB / 1.014 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.003796/0.9938, allocations: 4.198 MB / 1.268 GB, free: 172.4 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007697/0.9946, allocations: 441.5 kB / 1.269 GB, free: 172.2 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004947/0.9951, allocations: 344.6 kB / 1.269 GB, free: 172.1 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002627/0.9954, allocations: 196.8 kB / 1.269 GB, free: 171.9 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005351/0.9959, allocations: 318 kB / 1.269 GB, free: 171.8 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002678/0.9962, allocations: 30.09 kB / 1.269 GB, free: 171.8 MB / 1.014 GB Notification: Performance of pre-optimization done (n=33): time 1.984e-06/0.9962, allocations: 3.656 kB / 1.269 GB, free: 171.8 MB / 1.014 GB Notification: Performance of matching and sorting (n=33): time 0.001554/0.9978, allocations: 0.7001 MB / 1.27 GB, free: 171.5 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.083e-05/0.9978, allocations: 92.97 kB / 1.27 GB, free: 171.4 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001735/0.9996, allocations: 1.156 MB / 1.271 GB, free: 171 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.689e-05/0.9996, allocations: 42.62 kB / 1.271 GB, free: 171 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004418/1, allocations: 484.3 kB / 1.272 GB, free: 170.6 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 9.543e-05/1, allocations: 113.2 kB / 1.272 GB, free: 170.6 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002296/1, allocations: 113.5 kB / 1.272 GB, free: 170.5 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 7.832e-05/1.001, allocations: 325.8 kB / 1.272 GB, free: 170.2 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005331/1.001, allocations: 237.4 kB / 1.273 GB, free: 170.1 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008359/1.002, allocations: 0.5371 MB / 1.273 GB, free: 169.7 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001091/1.003, allocations: 0.68 MB / 1.274 GB, free: 169.3 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.726e-06/1.003, allocations: 1.625 kB / 1.274 GB, free: 169.3 MB / 1.014 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001735/1.005, allocations: 0.7716 MB / 1.274 GB, free: 169 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.512e-05/1.005, allocations: 34.19 kB / 1.274 GB, free: 168.9 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.641e-05/1.005, allocations: 10.42 kB / 1.274 GB, free: 168.9 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.879e-05/1.005, allocations: 7.969 kB / 1.275 GB, free: 168.9 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006035/1.005, allocations: 117.4 kB / 1.275 GB, free: 168.9 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.689e-05/1.006, allocations: 17.19 kB / 1.275 GB, free: 168.9 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008809/1.006, allocations: 60.48 kB / 1.275 GB, free: 168.9 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.211e-05/1.007, allocations: 26.08 kB / 1.275 GB, free: 168.9 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009687/1.007, allocations: 0.5166 MB / 1.275 GB, free: 168.7 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005407/1.008, allocations: 0.5033 MB / 1.276 GB, free: 168.3 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007796/1.009, allocations: 0.6037 MB / 1.276 GB, free: 167.9 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.539e-06/1.009, allocations: 2.125 kB / 1.276 GB, free: 167.9 MB / 1.014 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.001248/1.01, allocations: 0.6909 MB / 1.277 GB, free: 167.6 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.249e-05/1.01, allocations: 36.36 kB / 1.277 GB, free: 167.6 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.385e-06/1.01, allocations: 4.875 kB / 1.277 GB, free: 167.6 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/1.01, allocations: 11.78 kB / 1.277 GB, free: 167.6 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004661/1.011, allocations: 116.7 kB / 1.277 GB, free: 167.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.481e-05/1.011, allocations: 13.84 kB / 1.277 GB, free: 167.5 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008086/1.011, allocations: 75.36 kB / 1.277 GB, free: 167.5 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-05/1.012, allocations: 23.11 kB / 1.277 GB, free: 167.5 MB / 1.014 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.0002227/1.012, allocations: 215.2 kB / 1.277 GB, free: 167.3 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000146/1.012, allocations: 105.6 kB / 1.278 GB, free: 167.3 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001061/1.013, allocations: 0.5371 MB / 1.278 GB, free: 167.1 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.323e-06/1.013, allocations: 4.891 kB / 1.278 GB, free: 167.1 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/1.013, allocations: 7.594 kB / 1.278 GB, free: 167.1 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/1.013, allocations: 6.172 kB / 1.278 GB, free: 167 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002465/1.016, allocations: 1.492 MB / 1.28 GB, free: 166.3 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/1.016, allocations: 1.938 kB / 1.28 GB, free: 166.3 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003569/1.016, allocations: 69.36 kB / 1.28 GB, free: 166.3 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.07e-05/1.016, allocations: 6.844 kB / 1.28 GB, free: 166.3 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.036e-05/1.016, allocations: 8.938 kB / 1.28 GB, free: 166.3 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.936e-06/1.016, allocations: 4.359 kB / 1.28 GB, free: 166.3 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/1.016, allocations: 2.891 kB / 1.28 GB, free: 166.3 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009487/1.017, allocations: 0.6633 MB / 1.28 GB, free: 165.9 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003272/1.017, allocations: 220.5 kB / 1.28 GB, free: 165.8 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001109/1.017, allocations: 12.55 kB / 1.281 GB, free: 165.7 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005455/1.018, allocations: 38.14 kB / 1.281 GB, free: 165.7 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/1.018, allocations: 36.27 kB / 1.281 GB, free: 165.7 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.807e-05/1.018, allocations: 9.531 kB / 1.281 GB, free: 165.7 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001268/1.019, allocations: 0.8199 MB / 1.281 GB, free: 165.4 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.41e-07/1.019, allocations: 0 / 1.281 GB, free: 165.4 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001256/1.021, allocations: 428.6 kB / 1.282 GB, free: 165.4 MB / 1.014 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.000425/1.021, allocations: 171.2 kB / 1.282 GB, free: 165.3 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001577/1.023, allocations: 0.9028 MB / 1.283 GB, free: 164.9 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/1.023, allocations: 5.125 kB / 1.283 GB, free: 164.9 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000404/1.023, allocations: 230.2 kB / 1.283 GB, free: 164.8 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002002/1.025, allocations: 0.5046 MB / 1.284 GB, free: 164.7 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003148/1.028, allocations: 1.762 MB / 1.285 GB, free: 163.9 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007475/1.029, allocations: 1.182 MB / 1.286 GB, free: 163.1 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001298/1.03, allocations: 440.1 kB / 1.287 GB, free: 163.1 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002281/1.031, allocations: 79.58 kB / 1.287 GB, free: 163.1 MB / 1.014 GB Notification: Performance of SimCode: time 9.32e-07/1.031, allocations: 0 / 1.287 GB, free: 163.1 MB / 1.014 GB Notification: Performance of Templates: time 0.03875/1.069, allocations: 18.78 MB / 1.305 GB, free: 155.7 MB / 1.014 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