Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.SeriesFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_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_9_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.001697/0.001697, allocations: 103.8 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.002041/0.002041, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.361/1.361, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.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.211/2.211, allocations: 390.3 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 67.89 kB / 0.9516 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8624/0.8636, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.2023/1.066, allocations: 161.6 MB / 1.246 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004194/1.07, allocations: 1.754 MB / 1.248 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000531/1.071, allocations: 11.16 kB / 1.248 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007785/1.072, allocations: 163.8 kB / 1.248 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001809/1.073, allocations: 0.5253 MB / 1.249 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001339/1.075, allocations: 395.2 kB / 1.249 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002817/1.078, allocations: 2.54 MB / 1.252 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001261/1.079, allocations: 0.9255 MB / 1.253 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001911/1.081, allocations: 1.039 MB / 1.254 GB, free: 4.754 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009475/1.082, allocations: 0.7078 MB / 1.254 GB, free: 4.043 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001177/1.082, allocations: 59.94 kB / 1.254 GB, free: 3.984 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001658/1.084, allocations: 0.7406 MB / 1.255 GB, free: 3.242 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003318/1.084, allocations: 302.9 kB / 1.255 GB, free: 2.945 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0007079/1.085, allocations: 0.5439 MB / 1.256 GB, free: 2.398 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001946/1.087, allocations: 1.4 MB / 1.257 GB, free: 0.9961 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/1.087, allocations: 0 / 1.257 GB, free: 0.9961 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.725e-06/1.087, allocations: 0 / 1.257 GB, free: 0.9961 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.721e-05/1.087, allocations: 0 / 1.257 GB, free: 0.9961 MB / 0.9825 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.002371/1.089, allocations: 1.447 MB / 1.259 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/1.089, allocations: 8.031 kB / 1.259 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007579/1.09, allocations: 186.5 kB / 1.259 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001226/1.091, allocations: 0.8528 MB / 1.26 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.932e-05/1.091, allocations: 45 kB / 1.26 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.116e-05/1.091, allocations: 60 kB / 1.26 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00116/1.092, allocations: 0.7965 MB / 1.261 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/1.092, allocations: 0 / 1.261 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.549e-05/1.093, allocations: 24 kB / 1.261 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.63e-05/1.093, allocations: 12 kB / 1.261 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008861/1.093, allocations: 0.5305 MB / 1.261 GB, free: 12.84 MB / 0.9981 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.004442/1.098, allocations: 4.595 MB / 1.266 GB, free: 7.863 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007081/1.099, allocations: 415.9 kB / 1.266 GB, free: 7.449 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003744/1.099, allocations: 247.1 kB / 1.266 GB, free: 7.207 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003173/1.099, allocations: 194.2 kB / 1.266 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004964/1.1, allocations: 293.6 kB / 1.267 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=31): time 1.684e-06/1.1, allocations: 0 / 1.267 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of matching and sorting (n=31): time 0.001414/1.101, allocations: 0.6381 MB / 1.267 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.784e-05/1.101, allocations: 81.33 kB / 1.267 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001369/1.103, allocations: 1.114 MB / 1.269 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.377e-05/1.103, allocations: 37.64 kB / 1.269 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004263/1.103, allocations: 496.1 kB / 1.269 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.61e-05/1.103, allocations: 110.5 kB / 1.269 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001503/1.103, allocations: 106 kB / 1.269 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001292/1.104, allocations: 337.9 kB / 1.27 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003709/1.104, allocations: 210.4 kB / 1.27 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005899/1.105, allocations: 0.5213 MB / 1.27 GB, free: 2.848 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008384/1.105, allocations: 0.6305 MB / 1.271 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/1.105, allocations: 0 / 1.271 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001194/1.107, allocations: 0.7194 MB / 1.272 GB, free: 1.406 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.365e-05/1.107, allocations: 38.34 kB / 1.272 GB, free: 1.363 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/1.107, allocations: 8 kB / 1.272 GB, free: 1.355 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/1.107, allocations: 12.28 kB / 1.272 GB, free: 1.344 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00043/1.107, allocations: 103.8 kB / 1.272 GB, free: 1.242 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.865e-05/1.107, allocations: 15.92 kB / 1.272 GB, free: 1.227 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006124/1.108, allocations: 71.5 kB / 1.272 GB, free: 1.156 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.478e-05/1.108, allocations: 27.98 kB / 1.272 GB, free: 1.129 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006641/1.109, allocations: 0.5005 MB / 1.272 GB, free: 0.625 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005187/1.109, allocations: 495.1 kB / 1.273 GB, free: 12 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007341/1.11, allocations: 0.5606 MB / 1.273 GB, free: 15.37 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.025e-06/1.11, allocations: 0 / 1.273 GB, free: 15.37 MB / 1.014 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001019/1.111, allocations: 0.6458 MB / 1.274 GB, free: 14.71 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.933e-05/1.111, allocations: 33.7 kB / 1.274 GB, free: 14.67 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/1.111, allocations: 4 kB / 1.274 GB, free: 14.67 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.856e-06/1.111, allocations: 8 kB / 1.274 GB, free: 14.66 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003616/1.111, allocations: 108.4 kB / 1.274 GB, free: 14.55 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.409e-05/1.111, allocations: 15.92 kB / 1.274 GB, free: 14.54 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005974/1.112, allocations: 60.12 kB / 1.274 GB, free: 14.48 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.45e-05/1.112, allocations: 20 kB / 1.274 GB, free: 14.46 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 (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.0001992/1.112, allocations: 227.9 kB / 1.274 GB, free: 14.23 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/1.112, allocations: 102.8 kB / 1.275 GB, free: 14.13 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008985/1.113, allocations: 498.9 kB / 1.275 GB, free: 13.63 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/1.113, allocations: 4 kB / 1.275 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/1.113, allocations: 4 kB / 1.275 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/1.113, allocations: 0 / 1.275 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001882/1.115, allocations: 1.381 MB / 1.276 GB, free: 12.16 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.459e-05/1.115, allocations: 3.938 kB / 1.276 GB, free: 12.16 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002403/1.115, allocations: 64.11 kB / 1.276 GB, free: 12.1 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.702e-06/1.115, allocations: 11.94 kB / 1.276 GB, free: 12.09 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.468e-05/1.115, allocations: 8 kB / 1.276 GB, free: 12.08 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.823e-06/1.115, allocations: 7.984 kB / 1.276 GB, free: 12.07 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/1.115, allocations: 0 / 1.276 GB, free: 12.07 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008028/1.116, allocations: 0.6022 MB / 1.277 GB, free: 11.43 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002622/1.117, allocations: 219.7 kB / 1.277 GB, free: 11.2 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000105/1.117, allocations: 8 kB / 1.277 GB, free: 11.19 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003752/1.117, allocations: 23.97 kB / 1.277 GB, free: 11.16 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.611e-05/1.117, allocations: 31.97 kB / 1.277 GB, free: 11.13 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.932e-05/1.117, allocations: 8 kB / 1.277 GB, free: 11.12 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009481/1.118, allocations: 0.7953 MB / 1.278 GB, free: 10.32 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.7e-07/1.118, allocations: 4 kB / 1.278 GB, free: 10.32 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001074/1.119, allocations: 399.4 kB / 1.278 GB, free: 9.926 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 (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.0004219/1.12, allocations: 188 kB / 1.279 GB, free: 9.742 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001333/1.121, allocations: 0.8167 MB / 1.279 GB, free: 8.902 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/1.121, allocations: 4 kB / 1.279 GB, free: 8.898 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003278/1.121, allocations: 191.7 kB / 1.28 GB, free: 8.711 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001836/1.123, allocations: 446 kB / 1.28 GB, free: 8.277 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002657/1.126, allocations: 1.784 MB / 1.282 GB, free: 6.434 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007116/1.127, allocations: 1.176 MB / 1.283 GB, free: 5.227 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001836/1.127, allocations: 75.42 kB / 1.283 GB, free: 5.152 MB / 1.014 GB Notification: Performance of SimCode: time 8.81e-07/1.127, allocations: 0 / 1.283 GB, free: 5.152 MB / 1.014 GB Notification: Performance of Templates: time 0.02443/1.151, allocations: 15.97 MB / 1.299 GB, free: 5.305 MB / 1.029 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches