Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.002011/0.00201, allocations: 106.5 kB / 16.27 MB, free: 6.414 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.0021/0.0021, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.309/1.309, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.533/2.533, allocations: 469.4 MB / 0.7427 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 69.42 kB / 0.9088 GB, free: 14.17 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3144/0.3156, allocations: 159.1 MB / 1.064 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.744/1.06, allocations: 161.6 MB / 1.222 GB, free: 4.375 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.005798/1.066, allocations: 3.625 MB / 1.226 GB, free: 1.441 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004854/1.066, allocations: 14.81 kB / 1.226 GB, free: 1.434 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0007138/1.067, allocations: 160.1 kB / 1.226 GB, free: 1.301 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001609/1.069, allocations: 0.5281 MB / 1.226 GB, free: 0.8984 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001297/1.07, allocations: 435.2 kB / 1.227 GB, free: 0.6016 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002428/1.072, allocations: 2.558 MB / 1.229 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002556/1.075, allocations: 2.411 MB / 1.232 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001836/1.077, allocations: 1.038 MB / 1.233 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008034/1.077, allocations: 0.7117 MB / 1.233 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001173/1.078, allocations: 63.98 kB / 1.233 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001419/1.079, allocations: 0.7367 MB / 1.234 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002897/1.079, allocations: 314.9 kB / 1.234 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0006207/1.08, allocations: 0.5517 MB / 1.235 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001575/1.082, allocations: 1.402 MB / 1.236 GB, free: 9.004 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/1.082, allocations: 0 / 1.236 GB, free: 9.004 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.633e-06/1.082, allocations: 0 / 1.236 GB, free: 9.004 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.669e-05/1.082, allocations: 4 kB / 1.236 GB, free: 9 MB / 0.9512 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.002159/1.084, allocations: 1.457 MB / 1.238 GB, free: 7.484 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/1.084, allocations: 12.03 kB / 1.238 GB, free: 7.473 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007589/1.085, allocations: 190.5 kB / 1.238 GB, free: 7.285 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001139/1.086, allocations: 0.8101 MB / 1.239 GB, free: 6.418 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.654e-05/1.086, allocations: 41 kB / 1.239 GB, free: 6.375 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.255e-05/1.086, allocations: 56 kB / 1.239 GB, free: 6.32 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001104/1.087, allocations: 0.8239 MB / 1.24 GB, free: 5.422 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/1.087, allocations: 3.938 kB / 1.24 GB, free: 5.418 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.246e-05/1.087, allocations: 24 kB / 1.24 GB, free: 5.395 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.463e-05/1.087, allocations: 12 kB / 1.24 GB, free: 5.383 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000907/1.088, allocations: 0.5656 MB / 1.24 GB, free: 4.816 MB / 0.9512 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.003678/1.092, allocations: 4.224 MB / 1.244 GB, free: 336 kB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007217/1.092, allocations: 434.2 kB / 1.245 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004541/1.093, allocations: 345.1 kB / 1.245 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003073/1.093, allocations: 190.2 kB / 1.245 GB, free: 15.33 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005097/1.094, allocations: 327.1 kB / 1.245 GB, free: 14.99 MB / 0.9669 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002258/1.094, allocations: 35.62 kB / 1.246 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=33): time 2.014e-06/1.094, allocations: 0 / 1.246 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of matching and sorting (n=33): time 0.00137/1.095, allocations: 0.7081 MB / 1.246 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.835e-05/1.095, allocations: 81.11 kB / 1.246 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00126/1.097, allocations: 1.159 MB / 1.247 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.683e-05/1.097, allocations: 41.7 kB / 1.247 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003675/1.097, allocations: 488.4 kB / 1.248 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 8.904e-05/1.097, allocations: 114.5 kB / 1.248 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001623/1.097, allocations: 114.1 kB / 1.248 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001097/1.097, allocations: 329.9 kB / 1.248 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003808/1.098, allocations: 230.9 kB / 1.249 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005806/1.098, allocations: 0.5499 MB / 1.249 GB, free: 10.97 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000871/1.099, allocations: 0.6773 MB / 1.25 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/1.099, allocations: 4 kB / 1.25 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.00126/1.101, allocations: 0.7644 MB / 1.251 GB, free: 9.434 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.819e-05/1.101, allocations: 37.7 kB / 1.251 GB, free: 9.391 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/1.101, allocations: 4 kB / 1.251 GB, free: 9.387 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/1.101, allocations: 11.98 kB / 1.251 GB, free: 9.375 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005077/1.101, allocations: 112 kB / 1.251 GB, free: 9.266 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.448e-05/1.101, allocations: 8 kB / 1.251 GB, free: 9.258 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000735/1.102, allocations: 71.97 kB / 1.251 GB, free: 9.188 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.137e-05/1.102, allocations: 24 kB / 1.251 GB, free: 9.164 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006835/1.103, allocations: 0.5164 MB / 1.251 GB, free: 8.641 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005465/1.103, allocations: 0.5075 MB / 1.252 GB, free: 8.004 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007714/1.104, allocations: 0.6074 MB / 1.252 GB, free: 7.316 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.945e-06/1.104, allocations: 0 / 1.252 GB, free: 7.316 MB / 0.9669 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.001094/1.105, allocations: 0.6933 MB / 1.253 GB, free: 6.609 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.905e-05/1.105, allocations: 33.7 kB / 1.253 GB, free: 6.57 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/1.105, allocations: 8.109 kB / 1.253 GB, free: 6.562 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.889e-06/1.105, allocations: 11.94 kB / 1.253 GB, free: 6.551 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004552/1.106, allocations: 111.8 kB / 1.253 GB, free: 6.441 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/1.106, allocations: 9.562 kB / 1.253 GB, free: 6.434 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007643/1.107, allocations: 72.28 kB / 1.253 GB, free: 6.363 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-05/1.107, allocations: 23.98 kB / 1.253 GB, free: 6.34 MB / 0.9669 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.0001897/1.107, allocations: 220 kB / 1.254 GB, free: 6.117 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001336/1.107, allocations: 102.7 kB / 1.254 GB, free: 6.016 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009614/1.108, allocations: 0.5429 MB / 1.254 GB, free: 5.465 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.353e-06/1.108, allocations: 7.984 kB / 1.254 GB, free: 5.457 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/1.108, allocations: 0 / 1.254 GB, free: 5.457 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.345e-06/1.108, allocations: 7.938 kB / 1.254 GB, free: 5.449 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002001/1.11, allocations: 1.482 MB / 1.256 GB, free: 3.891 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/1.11, allocations: 4 kB / 1.256 GB, free: 3.887 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003457/1.11, allocations: 75.81 kB / 1.256 GB, free: 3.812 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.023e-06/1.11, allocations: 4.219 kB / 1.256 GB, free: 3.809 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.363e-05/1.11, allocations: 12 kB / 1.256 GB, free: 3.797 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/1.11, allocations: 4 kB / 1.256 GB, free: 3.793 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/1.11, allocations: 3.938 kB / 1.256 GB, free: 3.789 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000857/1.111, allocations: 0.6592 MB / 1.256 GB, free: 3.094 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003359/1.112, allocations: 227.8 kB / 1.257 GB, free: 2.852 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001193/1.112, allocations: 8 kB / 1.257 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005642/1.112, allocations: 39.94 kB / 1.257 GB, free: 2.805 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.749e-05/1.112, allocations: 35.91 kB / 1.257 GB, free: 2.77 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.368e-05/1.112, allocations: 8 kB / 1.257 GB, free: 2.762 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0009501/1.113, allocations: 0.8199 MB / 1.258 GB, free: 1.934 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/1.113, allocations: 0 / 1.258 GB, free: 1.934 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001121/1.114, allocations: 431.4 kB / 1.258 GB, free: 1.512 MB / 0.9669 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.0004116/1.115, allocations: 175.3 kB / 1.258 GB, free: 1.34 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001519/1.116, allocations: 0.9562 MB / 1.259 GB, free: 368 kB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/1.116, allocations: 0 / 1.259 GB, free: 368 kB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0003638/1.117, allocations: 228.7 kB / 1.259 GB, free: 144 kB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00215/1.119, allocations: 0.5009 MB / 1.26 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002783/1.122, allocations: 1.827 MB / 1.262 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007718/1.123, allocations: 1.186 MB / 1.263 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002437/1.123, allocations: 83.42 kB / 1.263 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of SimCode: time 9.41e-07/1.123, allocations: 0 / 1.263 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of Templates: time 0.02624/1.149, allocations: 16.53 MB / 1.279 GB, free: 12.05 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches