Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.SeriesFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_11_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_11_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.007573/0.007573, allocations: 104.3 kB / 15.74 MB, free: 6.066 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.001508/0.001508, allocations: 192.6 kB / 16.67 MB, free: 5.977 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.351/1.351, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.882/2.882, allocations: 469.8 MB / 0.7425 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 67.91 kB / 1.065 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8981/0.8995, allocations: 159.1 MB / 1.221 GB, free: 2.094 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.1786/1.078, allocations: 162 MB / 1.379 GB, free: 15.42 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.003489/1.082, allocations: 1.765 MB / 1.381 GB, free: 13.66 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004659/1.082, allocations: 11.94 kB / 1.381 GB, free: 13.64 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0007021/1.083, allocations: 170.9 kB / 1.381 GB, free: 13.48 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.00155/1.084, allocations: 0.5523 MB / 1.381 GB, free: 12.92 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001456/1.086, allocations: 399.4 kB / 1.382 GB, free: 12.54 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.003386/1.089, allocations: 2.522 MB / 1.384 GB, free: 10 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001442/1.091, allocations: 0.7937 MB / 1.385 GB, free: 9.199 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002269/1.093, allocations: 1.043 MB / 1.386 GB, free: 8.152 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001512/1.094, allocations: 0.7117 MB / 1.387 GB, free: 7.438 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0002325/1.095, allocations: 52 kB / 1.387 GB, free: 7.387 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00178/1.096, allocations: 0.7484 MB / 1.387 GB, free: 6.637 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0004416/1.097, allocations: 314.8 kB / 1.388 GB, free: 6.328 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0009195/1.098, allocations: 0.5439 MB / 1.388 GB, free: 5.781 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002217/1.1, allocations: 1.4 MB / 1.39 GB, free: 4.379 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/1.1, allocations: 4 kB / 1.39 GB, free: 4.375 MB / 1.107 GB Notification: Performance of FrontEnd: time 3.596e-06/1.1, allocations: 3.984 kB / 1.39 GB, free: 4.371 MB / 1.107 GB Notification: Performance of Transformations before backend: time 4.955e-05/1.1, allocations: 0 / 1.39 GB, free: 4.371 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002841/1.103, allocations: 1.485 MB / 1.391 GB, free: 2.824 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/1.103, allocations: 12.62 kB / 1.391 GB, free: 2.812 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008843/1.104, allocations: 195.1 kB / 1.391 GB, free: 2.621 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001552/1.105, allocations: 0.85 MB / 1.392 GB, free: 1.715 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.42e-05/1.105, allocations: 48.98 kB / 1.392 GB, free: 1.668 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.147e-05/1.105, allocations: 60 kB / 1.392 GB, free: 1.609 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00127/1.107, allocations: 0.7888 MB / 1.393 GB, free: 0.75 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/1.107, allocations: 7.938 kB / 1.393 GB, free: 0.7422 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.56e-05/1.107, allocations: 20 kB / 1.393 GB, free: 0.7227 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.508e-05/1.107, allocations: 16 kB / 1.393 GB, free: 0.707 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009399/1.108, allocations: 0.5344 MB / 1.394 GB, free: 172 kB / 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.00437/1.112, allocations: 4.603 MB / 1.398 GB, free: 11.18 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007328/1.113, allocations: 402.8 kB / 1.398 GB, free: 10.78 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003843/1.113, allocations: 228.7 kB / 1.399 GB, free: 10.55 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003045/1.114, allocations: 194.2 kB / 1.399 GB, free: 10.32 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004944/1.114, allocations: 289.1 kB / 1.399 GB, free: 10.02 MB / 1.123 GB Notification: Performance of pre-optimization done (n=31): time 2.074e-06/1.114, allocations: 0 / 1.399 GB, free: 10.02 MB / 1.123 GB Notification: Performance of matching and sorting (n=31): time 0.001433/1.116, allocations: 0.6384 MB / 1.4 GB, free: 9.379 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.967e-05/1.116, allocations: 81.11 kB / 1.4 GB, free: 9.281 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00154/1.117, allocations: 1.114 MB / 1.401 GB, free: 8.148 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 5.156e-05/1.117, allocations: 37.7 kB / 1.401 GB, free: 8.105 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004239/1.118, allocations: 0.493 MB / 1.401 GB, free: 7.605 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001008/1.118, allocations: 111 kB / 1.402 GB, free: 7.496 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001655/1.118, allocations: 114.1 kB / 1.402 GB, free: 7.379 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001366/1.118, allocations: 337.8 kB / 1.402 GB, free: 7.043 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003775/1.118, allocations: 210.4 kB / 1.402 GB, free: 6.836 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006223/1.119, allocations: 0.5174 MB / 1.403 GB, free: 6.184 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000891/1.12, allocations: 0.6308 MB / 1.403 GB, free: 5.473 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/1.12, allocations: 0 / 1.403 GB, free: 5.473 MB / 1.123 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001336/1.121, allocations: 0.7244 MB / 1.404 GB, free: 4.734 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 4.567e-05/1.121, allocations: 33.7 kB / 1.404 GB, free: 4.695 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/1.121, allocations: 8.938 kB / 1.404 GB, free: 4.688 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.469e-05/1.121, allocations: 12 kB / 1.404 GB, free: 4.676 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004452/1.122, allocations: 111.8 kB / 1.404 GB, free: 4.566 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.097e-05/1.122, allocations: 11.94 kB / 1.404 GB, free: 4.555 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006775/1.122, allocations: 71.62 kB / 1.404 GB, free: 4.484 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.804e-05/1.123, allocations: 27.98 kB / 1.404 GB, free: 4.457 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006927/1.123, allocations: 0.5005 MB / 1.405 GB, free: 3.953 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005628/1.124, allocations: 0.4891 MB / 1.405 GB, free: 3.332 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007899/1.125, allocations: 0.5567 MB / 1.406 GB, free: 2.695 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.007e-06/1.125, allocations: 0 / 1.406 GB, free: 2.695 MB / 1.123 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001132/1.126, allocations: 0.6503 MB / 1.406 GB, free: 2.031 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.735e-05/1.126, allocations: 33.7 kB / 1.406 GB, free: 1.992 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/1.126, allocations: 4 kB / 1.406 GB, free: 1.988 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.257e-06/1.126, allocations: 8 kB / 1.406 GB, free: 1.98 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003665/1.126, allocations: 112.4 kB / 1.407 GB, free: 1.871 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.377e-05/1.126, allocations: 11.98 kB / 1.407 GB, free: 1.859 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006586/1.127, allocations: 72.06 kB / 1.407 GB, free: 1.789 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-05/1.127, allocations: 24.05 kB / 1.407 GB, free: 1.766 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.0001864/1.127, allocations: 216.1 kB / 1.407 GB, free: 1.547 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001605/1.127, allocations: 107.3 kB / 1.407 GB, free: 1.441 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009233/1.128, allocations: 494.9 kB / 1.407 GB, free: 0.9531 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/1.128, allocations: 4 kB / 1.407 GB, free: 0.9492 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/1.128, allocations: 0 / 1.407 GB, free: 0.9492 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/1.128, allocations: 3.984 kB / 1.407 GB, free: 0.9453 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002078/1.13, allocations: 1.38 MB / 1.409 GB, free: 15.48 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.992e-06/1.13, allocations: 4 kB / 1.409 GB, free: 15.48 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000245/1.13, allocations: 67.83 kB / 1.409 GB, free: 15.41 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/1.13, allocations: 4.219 kB / 1.409 GB, free: 15.41 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.334e-05/1.13, allocations: 15.98 kB / 1.409 GB, free: 15.39 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/1.13, allocations: 7.938 kB / 1.409 GB, free: 15.39 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/1.13, allocations: 7.984 kB / 1.409 GB, free: 15.38 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008751/1.131, allocations: 0.6027 MB / 1.409 GB, free: 14.74 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003081/1.132, allocations: 220.3 kB / 1.41 GB, free: 14.5 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001319/1.132, allocations: 8 kB / 1.41 GB, free: 14.5 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004151/1.132, allocations: 23.97 kB / 1.41 GB, free: 14.47 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.554e-05/1.132, allocations: 31.91 kB / 1.41 GB, free: 14.44 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.148e-05/1.132, allocations: 8 kB / 1.41 GB, free: 14.43 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001006/1.133, allocations: 0.7953 MB / 1.411 GB, free: 13.63 MB / 1.139 GB Notification: Performance of sort global known variables: time 7e-08/1.133, allocations: 0 / 1.411 GB, free: 13.63 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001201/1.135, allocations: 407.5 kB / 1.411 GB, free: 13.23 MB / 1.139 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.0004589/1.135, allocations: 173.9 kB / 1.411 GB, free: 13.06 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.00152/1.137, allocations: 0.798 MB / 1.412 GB, free: 12.24 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/1.137, allocations: 0 / 1.412 GB, free: 12.24 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.000375/1.137, allocations: 195.7 kB / 1.412 GB, free: 12.05 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00185/1.139, allocations: 455.1 kB / 1.412 GB, free: 11.61 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003054/1.142, allocations: 1.767 MB / 1.414 GB, free: 9.785 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008276/1.143, allocations: 1.173 MB / 1.415 GB, free: 8.582 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001011/1.144, allocations: 411.6 kB / 1.416 GB, free: 8.176 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002146/1.144, allocations: 75.42 kB / 1.416 GB, free: 8.102 MB / 1.139 GB Notification: Performance of SimCode: time 9.12e-07/1.144, allocations: 4 kB / 1.416 GB, free: 8.098 MB / 1.139 GB Notification: Performance of Templates: time 0.03128/1.175, allocations: 17.3 MB / 1.433 GB, free: 7.016 MB / 1.154 GB make -j1 -f Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches