Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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.SeriesDpOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 113 kB / 16.42 MB, free: 6.449 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.00123/0.00123, allocations: 185.7 kB / 17.35 MB, free: 5.738 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.372/1.372, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.519/2.519, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 67.89 kB / 1.055 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7418/0.7431, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.1654/0.9085, allocations: 161.6 MB / 1.366 GB, free: 11.38 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.004481/0.913, allocations: 3.622 MB / 1.37 GB, free: 7.75 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002323/0.9133, allocations: 11.94 kB / 1.37 GB, free: 7.738 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0005271/0.9139, allocations: 162.9 kB / 1.37 GB, free: 7.578 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001146/0.915, allocations: 0.525 MB / 1.37 GB, free: 7.051 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001028/0.9161, allocations: 439 kB / 1.371 GB, free: 6.629 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002356/0.9184, allocations: 2.539 MB / 1.373 GB, free: 4.082 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001053/0.9195, allocations: 0.9294 MB / 1.374 GB, free: 3.137 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001422/0.9209, allocations: 1.039 MB / 1.375 GB, free: 2.094 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007202/0.9217, allocations: 0.7156 MB / 1.376 GB, free: 1.375 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001148/0.9218, allocations: 56 kB / 1.376 GB, free: 1.32 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001234/0.923, allocations: 0.7406 MB / 1.377 GB, free: 0.5781 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0002816/0.9233, allocations: 306.9 kB / 1.377 GB, free: 284 kB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0005494/0.9239, allocations: 0.5401 MB / 1.378 GB, free: 15.73 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001367/0.9253, allocations: 1.4 MB / 1.379 GB, free: 14.33 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.9253, allocations: 0 / 1.379 GB, free: 14.33 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.725e-06/0.9253, allocations: 4 kB / 1.379 GB, free: 14.33 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.133e-05/0.9253, allocations: 0 / 1.379 GB, free: 14.33 MB / 1.107 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.002108/0.9274, allocations: 1.447 MB / 1.38 GB, free: 12.82 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.9275, allocations: 16.02 kB / 1.38 GB, free: 12.8 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007219/0.9282, allocations: 190.4 kB / 1.381 GB, free: 12.62 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001389/0.9296, allocations: 0.8491 MB / 1.381 GB, free: 11.71 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.558e-05/0.9296, allocations: 45 kB / 1.381 GB, free: 11.67 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.978e-05/0.9297, allocations: 60 kB / 1.382 GB, free: 11.61 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001073/0.9308, allocations: 0.7964 MB / 1.382 GB, free: 10.74 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.9308, allocations: 0 / 1.382 GB, free: 10.74 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.857e-05/0.9309, allocations: 28 kB / 1.382 GB, free: 10.71 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.336e-05/0.9309, allocations: 12 kB / 1.382 GB, free: 10.7 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008661/0.9318, allocations: 0.5305 MB / 1.383 GB, free: 10.17 MB / 1.107 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.003714/0.9355, allocations: 4.595 MB / 1.387 GB, free: 5.191 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006737/0.9362, allocations: 422.2 kB / 1.388 GB, free: 4.77 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003697/0.9366, allocations: 249.2 kB / 1.388 GB, free: 4.523 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002813/0.9369, allocations: 198.2 kB / 1.388 GB, free: 4.293 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004654/0.9374, allocations: 301.3 kB / 1.388 GB, free: 3.98 MB / 1.107 GB Notification: Performance of pre-optimization done (n=31): time 2.174e-06/0.9374, allocations: 0 / 1.388 GB, free: 3.98 MB / 1.107 GB Notification: Performance of matching and sorting (n=31): time 0.003821/0.9412, allocations: 1.305 MB / 1.39 GB, free: 2.645 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.695e-05/0.9412, allocations: 89.09 kB / 1.39 GB, free: 2.539 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001223/0.9425, allocations: 1.114 MB / 1.391 GB, free: 1.406 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 4.192e-05/0.9425, allocations: 37.7 kB / 1.391 GB, free: 1.363 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004/0.9429, allocations: 492.2 kB / 1.391 GB, free: 0.8789 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 8.159e-05/0.943, allocations: 114.4 kB / 1.392 GB, free: 0.7656 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001614/0.9432, allocations: 109.9 kB / 1.392 GB, free: 0.6523 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.9433, allocations: 330 kB / 1.392 GB, free: 332 kB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003623/0.9437, allocations: 210.4 kB / 1.392 GB, free: 116 kB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005877/0.9443, allocations: 0.5174 MB / 1.393 GB, free: 15.46 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008486/0.9451, allocations: 0.6314 MB / 1.393 GB, free: 14.75 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.9452, allocations: 0 / 1.393 GB, free: 14.75 MB / 1.123 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002405/0.9476, allocations: 1.045 MB / 1.394 GB, free: 13.69 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 4.111e-05/0.9476, allocations: 33.7 kB / 1.394 GB, free: 13.65 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.9476, allocations: 7.984 kB / 1.394 GB, free: 13.64 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001474/0.9491, allocations: 358.6 kB / 1.395 GB, free: 13.29 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002261/0.9494, allocations: 63.84 kB / 1.395 GB, free: 13.23 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001019/0.9504, allocations: 1.013 MB / 1.396 GB, free: 12.19 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006016/0.951, allocations: 75.42 kB / 1.396 GB, free: 12.12 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.148e-05/0.9511, allocations: 24 kB / 1.396 GB, free: 12.09 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006581/0.9517, allocations: 0.4967 MB / 1.396 GB, free: 11.59 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005204/0.9523, allocations: 0.4886 MB / 1.397 GB, free: 10.97 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007027/0.953, allocations: 0.5528 MB / 1.397 GB, free: 10.34 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.474e-06/0.953, allocations: 0 / 1.397 GB, free: 10.34 MB / 1.123 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001451/0.9544, allocations: 0.8222 MB / 1.398 GB, free: 9.496 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.128e-05/0.9545, allocations: 41.69 kB / 1.398 GB, free: 9.449 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.9545, allocations: 4 kB / 1.398 GB, free: 9.445 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000528/0.955, allocations: 211.6 kB / 1.398 GB, free: 9.238 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002101/0.9553, allocations: 63.95 kB / 1.398 GB, free: 9.176 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003695/0.959, allocations: 3.34 MB / 1.402 GB, free: 5.672 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005888/0.9596, allocations: 76.12 kB / 1.402 GB, free: 5.598 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.789e-05/0.9596, allocations: 24 kB / 1.402 GB, free: 5.574 MB / 1.123 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 (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0001823/0.9598, allocations: 212.1 kB / 1.402 GB, free: 5.359 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001233/0.96, allocations: 98.78 kB / 1.402 GB, free: 5.262 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00126/0.9612, allocations: 0.7139 MB / 1.403 GB, free: 4.539 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-06/0.9612, allocations: 8.078 kB / 1.403 GB, free: 4.531 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.9613, allocations: 3.984 kB / 1.403 GB, free: 4.527 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003596/0.9616, allocations: 207.9 kB / 1.403 GB, free: 4.305 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/0.9617, allocations: 8 kB / 1.403 GB, free: 4.297 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003767/0.9621, allocations: 27.97 kB / 1.403 GB, free: 4.27 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/0.9622, allocations: 43.92 kB / 1.403 GB, free: 4.227 MB / 1.123 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001377/0.9636, allocations: 0.7933 MB / 1.404 GB, free: 3.422 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001179/0.9648, allocations: 0.9173 MB / 1.405 GB, free: 2.488 MB / 1.123 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003218/0.9651, allocations: 183.8 kB / 1.405 GB, free: 2.309 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0009674/0.9661, allocations: 0.7877 MB / 1.406 GB, free: 1.512 MB / 1.123 GB Notification: Performance of Backend: time 1.463e-06/0.9661, allocations: 4 kB / 1.406 GB, free: 1.508 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002554/0.9687, allocations: 1.162 MB / 1.407 GB, free: 324 kB / 1.123 GB Notification: Performance of SimCode: time 0.003829/0.9725, allocations: 2.653 MB / 1.409 GB, free: 13.61 MB / 1.139 GB Notification: Performance of Templates: time 0.03272/1.005, allocations: 20.63 MB / 1.43 GB, free: 9.172 MB / 1.154 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches