Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.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.ParallelFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.00917/0.00917, allocations: 172.8 kB / 16.26 MB, free: 6.613 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.405/1.405, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.715/2.715, allocations: 462.7 MB / 0.7364 GB, free: 272 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004395/0.0004396, allocations: 8.531 kB / 0.9028 GB, free: 36.71 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/0.2978, allocations: 159.6 MB / 1.059 GB, free: 5.441 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised): time 0.1737/0.4716, allocations: 157.3 MB / 1.212 GB, free: 7.535 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00311/0.4747, allocations: 1.754 MB / 1.214 GB, free: 5.781 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002898/0.4751, allocations: 11.94 kB / 1.214 GB, free: 5.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005535/0.4756, allocations: 143.1 kB / 1.214 GB, free: 5.629 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00133/0.477, allocations: 498 kB / 1.215 GB, free: 5.141 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009875/0.478, allocations: 354.4 kB / 1.215 GB, free: 4.797 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003129/0.4811, allocations: 3.491 MB / 1.218 GB, free: 1.297 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002578/0.4837, allocations: 2.218 MB / 1.221 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001641/0.4853, allocations: 0.8986 MB / 1.221 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008328/0.4862, allocations: 0.7116 MB / 1.222 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.635e-05/0.4863, allocations: 32 kB / 1.222 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001362/0.4876, allocations: 0.799 MB / 1.223 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002677/0.4879, allocations: 282.9 kB / 1.223 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005492/0.4885, allocations: 0.5261 MB / 1.224 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001392/0.4899, allocations: 1.386 MB / 1.225 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.4899, allocations: 0 / 1.225 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.543e-06/0.4899, allocations: 0 / 1.225 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.078e-05/0.4899, allocations: 0 / 1.225 GB, free: 10.41 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.002067/0.492, allocations: 1.299 MB / 1.226 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.4921, allocations: 8.031 kB / 1.226 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007441/0.4928, allocations: 182.5 kB / 1.227 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001161/0.494, allocations: 0.81 MB / 1.227 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.774e-05/0.494, allocations: 41 kB / 1.227 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.389e-05/0.4941, allocations: 56 kB / 1.227 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001235/0.4954, allocations: 0.8316 MB / 1.228 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.4954, allocations: 7.938 kB / 1.228 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.484e-05/0.4955, allocations: 24 kB / 1.228 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.486e-05/0.4955, allocations: 15.94 kB / 1.228 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009795/0.4965, allocations: 0.5813 MB / 1.229 GB, free: 6.359 MB / 0.9825 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.003821/0.5003, allocations: 4.254 MB / 1.233 GB, free: 1.84 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007628/0.5011, allocations: 455.5 kB / 1.233 GB, free: 1.387 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005068/0.5016, allocations: 345.8 kB / 1.234 GB, free: 1.047 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000295/0.5019, allocations: 198.2 kB / 1.234 GB, free: 0.8164 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005161/0.5024, allocations: 331 kB / 1.234 GB, free: 484 kB / 0.9825 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002059/0.5026, allocations: 27.69 kB / 1.234 GB, free: 456 kB / 0.9825 GB Notification: Performance of pre-optimization done (n=33): time 1.843e-06/0.5027, allocations: 0 / 1.234 GB, free: 456 kB / 0.9825 GB Notification: Performance of matching and sorting (n=33): time 0.0051/0.5078, allocations: 1.696 MB / 1.236 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.278e-05/0.5078, allocations: 89.08 kB / 1.236 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001402/0.5093, allocations: 1.147 MB / 1.237 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.984e-05/0.5093, allocations: 45.69 kB / 1.237 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003826/0.5097, allocations: 492.4 kB / 1.238 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.536e-05/0.5098, allocations: 110.4 kB / 1.238 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.51e-05/0.5099, allocations: 45.7 kB / 1.238 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.92e-05/0.51, allocations: 326 kB / 1.238 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004/0.5104, allocations: 232.9 kB / 1.238 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006144/0.511, allocations: 0.5462 MB / 1.239 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009391/0.512, allocations: 0.6854 MB / 1.24 GB, free: 10.76 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.673e-06/0.512, allocations: 4.109 kB / 1.24 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002276/0.5143, allocations: 1.123 MB / 1.241 GB, free: 9.613 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001819/0.5145, allocations: 275.1 kB / 1.241 GB, free: 9.262 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.5145, allocations: 7.984 kB / 1.241 GB, free: 9.254 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00129/0.5158, allocations: 370.5 kB / 1.241 GB, free: 8.891 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003946/0.5162, allocations: 104 kB / 1.241 GB, free: 8.789 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001078/0.5173, allocations: 1.041 MB / 1.242 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008844/0.5182, allocations: 83.89 kB / 1.242 GB, free: 7.641 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.326e-05/0.5182, allocations: 31.97 kB / 1.242 GB, free: 7.609 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 8.967e-06/0.5183, allocations: 4 kB / 1.242 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001409/0.5197, allocations: 0.783 MB / 1.243 GB, free: 6.812 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.5197, allocations: 8 kB / 1.243 GB, free: 6.805 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005533/0.5203, allocations: 244.6 kB / 1.243 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003527/0.5206, allocations: 99.86 kB / 1.244 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003557/0.5242, allocations: 3.025 MB / 1.247 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008497/0.525, allocations: 83.91 kB / 1.247 GB, free: 3.227 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.988e-05/0.5251, allocations: 20 kB / 1.247 GB, free: 3.207 MB / 0.9981 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_m_flow.count,$PRE.pulse_m_flow.count,pulse_m_flow.T_start,$PRE.pulse_m_flow.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * 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,20)} Notification: Performance of prepare postOptimizeDAE: time 0.0005911/0.5257, allocations: 476.9 kB / 1.247 GB, free: 2.734 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/0.5258, allocations: 102.7 kB / 1.247 GB, free: 2.633 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001388/0.5272, allocations: 0.7889 MB / 1.248 GB, free: 1.836 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/0.5272, allocations: 4 kB / 1.248 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.5272, allocations: 0 / 1.248 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-06/0.5273, allocations: 7.984 kB / 1.248 GB, free: 1.824 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0025/0.5298, allocations: 1.744 MB / 1.25 GB, free: 0 / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.5298, allocations: 0 / 1.25 GB, free: 0 / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.6044/1.134, allocations: 51.62 kB / 1.25 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007594/1.135, allocations: 239.3 kB / 1.25 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-05/1.135, allocations: 10.3 kB / 1.25 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001219/1.136, allocations: 1.004 MB / 1.251 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.205e-06/1.136, allocations: 5.719 kB / 1.251 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001852/1.138, allocations: 0.9104 MB / 1.252 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006374/1.139, allocations: 226.6 kB / 1.252 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001393/1.139, allocations: 12.64 kB / 1.252 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006708/1.14, allocations: 61.56 kB / 1.252 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/1.14, allocations: 26.83 kB / 1.252 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.415e-05/1.14, allocations: 14.06 kB / 1.252 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001268/1.141, allocations: 0.8162 MB / 1.253 GB, free: 191 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.11e-07/1.141, allocations: 0 / 1.253 GB, free: 191 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00156/1.143, allocations: 472.5 kB / 1.253 GB, free: 191 MB / 0.9981 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_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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,20)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004506/1.143, allocations: 169.4 kB / 1.254 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002011/1.145, allocations: 1.15 MB / 1.255 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/1.145, allocations: 2.562 kB / 1.255 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005911/1.146, allocations: 259.5 kB / 1.255 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004013/1.15, allocations: 0.6331 MB / 1.256 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003089/1.153, allocations: 2.082 MB / 1.258 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008489/1.154, allocations: 1.182 MB / 1.259 GB, free: 189 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001047/1.155, allocations: 316 kB / 1.259 GB, free: 189 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001259/1.155, allocations: 63 kB / 1.259 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of SimCode: time 7.42e-07/1.155, allocations: 0 / 1.259 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.0441/1.199, allocations: 21.23 MB / 1.28 GB, free: 182.7 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches