Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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.SeriesFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 108.9 kB / 16.41 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.001134/0.001134, allocations: 185.5 kB / 17.34 MB, free: 5.723 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.332/1.332, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.486/2.486, allocations: 461.9 MB / 0.7354 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 67.84 kB / 1.055 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8837/0.885, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.1712/1.056, allocations: 161.6 MB / 1.366 GB, free: 11.37 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.003355/1.06, allocations: 1.751 MB / 1.368 GB, free: 9.617 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005104/1.06, allocations: 11.94 kB / 1.368 GB, free: 9.605 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0007347/1.061, allocations: 162.8 kB / 1.368 GB, free: 9.445 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001618/1.063, allocations: 0.525 MB / 1.369 GB, free: 8.918 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001323/1.064, allocations: 409.8 kB / 1.369 GB, free: 8.52 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.003019/1.067, allocations: 2.516 MB / 1.372 GB, free: 5.996 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001506/1.069, allocations: 0.9372 MB / 1.372 GB, free: 5.043 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002121/1.071, allocations: 1.035 MB / 1.373 GB, free: 4.004 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001282/1.072, allocations: 0.7 MB / 1.374 GB, free: 3.301 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002318/1.072, allocations: 56 kB / 1.374 GB, free: 3.246 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001843/1.074, allocations: 0.7406 MB / 1.375 GB, free: 2.504 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0004737/1.075, allocations: 314.9 kB / 1.375 GB, free: 2.195 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001043/1.076, allocations: 0.5362 MB / 1.376 GB, free: 1.656 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.00218/1.078, allocations: 1.4 MB / 1.377 GB, free: 260 kB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/1.078, allocations: 0 / 1.377 GB, free: 260 kB / 1.092 GB Notification: Performance of FrontEnd: time 2.225e-06/1.078, allocations: 0 / 1.377 GB, free: 260 kB / 1.092 GB Notification: Performance of Transformations before backend: time 5.146e-05/1.078, allocations: 0 / 1.377 GB, free: 260 kB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.00298/1.081, allocations: 1.447 MB / 1.378 GB, free: 14.75 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/1.081, allocations: 12.03 kB / 1.379 GB, free: 14.73 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009025/1.082, allocations: 182.5 kB / 1.379 GB, free: 14.55 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001527/1.083, allocations: 0.8489 MB / 1.38 GB, free: 13.65 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.068e-05/1.083, allocations: 45 kB / 1.38 GB, free: 13.61 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001039/1.084, allocations: 63.92 kB / 1.38 GB, free: 13.54 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001312/1.085, allocations: 0.8003 MB / 1.38 GB, free: 12.67 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/1.085, allocations: 0 / 1.38 GB, free: 12.67 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.693e-05/1.085, allocations: 24 kB / 1.38 GB, free: 12.64 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.492e-05/1.085, allocations: 16 kB / 1.38 GB, free: 12.63 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000972/1.086, allocations: 0.5305 MB / 1.381 GB, free: 12.1 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.004621/1.091, allocations: 4.591 MB / 1.385 GB, free: 7.125 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007295/1.091, allocations: 418.2 kB / 1.386 GB, free: 6.707 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000383/1.092, allocations: 245.2 kB / 1.386 GB, free: 6.465 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003018/1.092, allocations: 194.2 kB / 1.386 GB, free: 6.238 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005113/1.093, allocations: 289.6 kB / 1.387 GB, free: 5.938 MB / 1.107 GB Notification: Performance of pre-optimization done (n=31): time 2.365e-06/1.093, allocations: 0 / 1.387 GB, free: 5.938 MB / 1.107 GB Notification: Performance of matching and sorting (n=31): time 0.001462/1.094, allocations: 0.6294 MB / 1.387 GB, free: 5.301 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.907e-05/1.094, allocations: 85.05 kB / 1.387 GB, free: 5.199 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001475/1.096, allocations: 1.118 MB / 1.388 GB, free: 4.062 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 6.425e-05/1.096, allocations: 37.7 kB / 1.388 GB, free: 4.02 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004095/1.096, allocations: 496.1 kB / 1.389 GB, free: 3.531 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/1.096, allocations: 110.5 kB / 1.389 GB, free: 3.422 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001711/1.096, allocations: 114.2 kB / 1.389 GB, free: 3.305 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001092/1.097, allocations: 325.9 kB / 1.389 GB, free: 2.98 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003998/1.097, allocations: 214.4 kB / 1.39 GB, free: 2.766 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005917/1.098, allocations: 0.5253 MB / 1.39 GB, free: 2.109 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008662/1.098, allocations: 0.6394 MB / 1.391 GB, free: 1.391 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.481e-06/1.098, allocations: 0 / 1.391 GB, free: 1.391 MB / 1.107 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001307/1.1, allocations: 0.7201 MB / 1.391 GB, free: 0.6562 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 4.719e-05/1.1, allocations: 37.69 kB / 1.391 GB, free: 0.6133 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/1.1, allocations: 4 kB / 1.391 GB, free: 0.6094 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.571e-05/1.1, allocations: 8 kB / 1.391 GB, free: 0.6016 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004306/1.1, allocations: 108.3 kB / 1.392 GB, free: 0.4961 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.836e-05/1.1, allocations: 19.92 kB / 1.392 GB, free: 488 kB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007217/1.101, allocations: 71.48 kB / 1.392 GB, free: 416 kB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.507e-05/1.101, allocations: 24 kB / 1.392 GB, free: 392 kB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007414/1.102, allocations: 0.5006 MB / 1.392 GB, free: 15.88 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000536/1.102, allocations: 497.8 kB / 1.393 GB, free: 15.25 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007277/1.103, allocations: 0.5489 MB / 1.393 GB, free: 14.62 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.079e-06/1.103, allocations: 8 kB / 1.393 GB, free: 14.61 MB / 1.123 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001162/1.104, allocations: 0.6424 MB / 1.394 GB, free: 13.96 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.458e-05/1.104, allocations: 33.7 kB / 1.394 GB, free: 13.92 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/1.104, allocations: 8 kB / 1.394 GB, free: 13.91 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/1.104, allocations: 8 kB / 1.394 GB, free: 13.9 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003769/1.105, allocations: 103.8 kB / 1.394 GB, free: 13.8 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.376e-05/1.105, allocations: 15.92 kB / 1.394 GB, free: 13.79 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007166/1.106, allocations: 60.31 kB / 1.394 GB, free: 13.73 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.39e-05/1.106, allocations: 24 kB / 1.394 GB, free: 13.7 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 (53): * Single equations (assignments): 52 * 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.0002053/1.106, allocations: 224 kB / 1.394 GB, free: 13.48 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002063/1.106, allocations: 98.78 kB / 1.394 GB, free: 13.38 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000966/1.107, allocations: 494.9 kB / 1.395 GB, free: 12.89 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/1.107, allocations: 4.188 kB / 1.395 GB, free: 12.88 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.886e-06/1.107, allocations: 8 kB / 1.395 GB, free: 12.88 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/1.107, allocations: 7.969 kB / 1.395 GB, free: 12.87 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002074/1.109, allocations: 1.385 MB / 1.396 GB, free: 11.41 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/1.109, allocations: 0 / 1.396 GB, free: 11.41 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002595/1.109, allocations: 67.89 kB / 1.396 GB, free: 11.34 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.02e-05/1.109, allocations: 7.938 kB / 1.396 GB, free: 11.34 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.534e-05/1.109, allocations: 11.98 kB / 1.396 GB, free: 11.32 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.262e-06/1.109, allocations: 0 / 1.396 GB, free: 11.32 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/1.109, allocations: 7.938 kB / 1.396 GB, free: 11.32 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008414/1.11, allocations: 0.6023 MB / 1.397 GB, free: 10.68 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003106/1.111, allocations: 215.8 kB / 1.397 GB, free: 10.45 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001581/1.111, allocations: 8 kB / 1.397 GB, free: 10.44 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004333/1.111, allocations: 23.91 kB / 1.397 GB, free: 10.41 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.914e-05/1.111, allocations: 31.97 kB / 1.397 GB, free: 10.38 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.169e-05/1.111, allocations: 8 kB / 1.397 GB, free: 10.38 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001011/1.112, allocations: 0.7953 MB / 1.398 GB, free: 9.57 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.1e-07/1.112, allocations: 0 / 1.398 GB, free: 9.57 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001317/1.114, allocations: 403.4 kB / 1.398 GB, free: 9.176 MB / 1.123 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 (31): * Single equations (assignments): 29 * 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.0004817/1.114, allocations: 175.4 kB / 1.398 GB, free: 9.008 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001431/1.116, allocations: 0.8246 MB / 1.399 GB, free: 8.164 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/1.116, allocations: 0 / 1.399 GB, free: 8.164 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0003485/1.116, allocations: 201.9 kB / 1.399 GB, free: 7.969 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001996/1.118, allocations: 458.4 kB / 1.4 GB, free: 7.523 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003018/1.121, allocations: 1.771 MB / 1.402 GB, free: 5.691 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007625/1.122, allocations: 1.176 MB / 1.403 GB, free: 4.484 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000229/1.122, allocations: 79.42 kB / 1.403 GB, free: 4.406 MB / 1.123 GB Notification: Performance of SimCode: time 8.22e-07/1.122, allocations: 4 kB / 1.403 GB, free: 4.402 MB / 1.123 GB Notification: Performance of Templates: time 0.02394/1.146, allocations: 15.96 MB / 1.418 GB, free: 4.555 MB / 1.139 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches