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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0009715/0.0009715, allocations: 92.23 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 181.9 kB / 16.92 MB, free: 6.652 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.369/1.369, allocations: 223.3 MB / 241 MB, free: 5.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.704/2.704, allocations: 462.7 MB / 0.7371 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003632/0.0003631, allocations: 8.781 kB / 0.9034 GB, free: 36.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3217, allocations: 159.6 MB / 1.059 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised): time 0.1645/0.4862, allocations: 157.3 MB / 1.213 GB, free: 7.051 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003154/0.4894, allocations: 1.739 MB / 1.215 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003671/0.4898, allocations: 15.94 kB / 1.215 GB, free: 5.293 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005375/0.4904, allocations: 139.2 kB / 1.215 GB, free: 5.156 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001363/0.4918, allocations: 498 kB / 1.215 GB, free: 4.668 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001103/0.4929, allocations: 354.2 kB / 1.216 GB, free: 4.324 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00343/0.4963, allocations: 3.498 MB / 1.219 GB, free: 0.8203 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002763/0.4991, allocations: 2.218 MB / 1.221 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002115/0.5013, allocations: 0.8947 MB / 1.222 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001139/0.5024, allocations: 0.7233 MB / 1.223 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.749e-05/0.5025, allocations: 32 kB / 1.223 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001521/0.504, allocations: 0.8028 MB / 1.224 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003075/0.5044, allocations: 286.9 kB / 1.224 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0007049/0.5051, allocations: 0.5222 MB / 1.224 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001204/0.5063, allocations: 1.021 MB / 1.225 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.5063, allocations: 3.938 kB / 1.225 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.783e-06/0.5063, allocations: 0 / 1.225 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.117e-05/0.5063, allocations: 0 / 1.225 GB, free: 10.28 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.002133/0.5085, allocations: 1.299 MB / 1.227 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.5085, allocations: 11.97 kB / 1.227 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007437/0.5093, allocations: 182.5 kB / 1.227 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001201/0.5105, allocations: 0.8061 MB / 1.228 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.517e-05/0.5105, allocations: 41 kB / 1.228 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.482e-05/0.5106, allocations: 64 kB / 1.228 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001274/0.5119, allocations: 0.8354 MB / 1.229 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/0.512, allocations: 4 kB / 1.229 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.235e-05/0.512, allocations: 24 kB / 1.229 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.83e-05/0.512, allocations: 19.98 kB / 1.229 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009712/0.513, allocations: 0.5696 MB / 1.229 GB, free: 6.23 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.004142/0.5172, allocations: 4.246 MB / 1.233 GB, free: 1.719 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007703/0.518, allocations: 450.9 kB / 1.234 GB, free: 1.27 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004928/0.5185, allocations: 349.8 kB / 1.234 GB, free: 0.9258 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003072/0.5188, allocations: 194.2 kB / 1.234 GB, free: 0.6992 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000546/0.5193, allocations: 327 kB / 1.235 GB, free: 368 kB / 0.9825 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00028/0.5196, allocations: 31.78 kB / 1.235 GB, free: 336 kB / 0.9825 GB Notification: Performance of pre-optimization done (n=33): time 2.154e-06/0.5196, allocations: 3.938 kB / 1.235 GB, free: 332 kB / 0.9825 GB Notification: Performance of matching and sorting (n=33): time 0.005145/0.5248, allocations: 1.701 MB / 1.236 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.249e-05/0.5249, allocations: 81.11 kB / 1.236 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001514/0.5264, allocations: 1.151 MB / 1.237 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.867e-05/0.5265, allocations: 41.64 kB / 1.237 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004417/0.5269, allocations: 492.5 kB / 1.238 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001135/0.527, allocations: 122.4 kB / 1.238 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.957e-05/0.5271, allocations: 41.7 kB / 1.238 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.5273, allocations: 326 kB / 1.238 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004152/0.5277, allocations: 232.9 kB / 1.239 GB, free: 12.08 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006833/0.5284, allocations: 0.5462 MB / 1.239 GB, free: 11.4 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009747/0.5294, allocations: 0.6942 MB / 1.24 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.5294, allocations: 0 / 1.24 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002375/0.5318, allocations: 1.112 MB / 1.241 GB, free: 9.496 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001816/0.532, allocations: 270.7 kB / 1.241 GB, free: 9.148 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.532, allocations: 8 kB / 1.241 GB, free: 9.141 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001292/0.5333, allocations: 381.5 kB / 1.242 GB, free: 8.766 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003843/0.5337, allocations: 92.03 kB / 1.242 GB, free: 8.676 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001106/0.5348, allocations: 1.05 MB / 1.243 GB, free: 7.602 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000945/0.5358, allocations: 79.88 kB / 1.243 GB, free: 7.523 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.143e-05/0.5358, allocations: 24 kB / 1.243 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.318e-06/0.5358, allocations: 4 kB / 1.243 GB, free: 7.496 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00141/0.5373, allocations: 0.7905 MB / 1.244 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.5373, allocations: 4 kB / 1.244 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005753/0.5379, allocations: 245.2 kB / 1.244 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003571/0.5382, allocations: 99.86 kB / 1.244 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003666/0.5419, allocations: 3.022 MB / 1.247 GB, free: 3.199 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009362/0.5429, allocations: 79.92 kB / 1.247 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.233e-05/0.5429, allocations: 27.98 kB / 1.247 GB, free: 3.094 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.0006097/0.5435, allocations: 474.1 kB / 1.247 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001237/0.5437, allocations: 102.7 kB / 1.247 GB, free: 2.52 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001403/0.5451, allocations: 0.7928 MB / 1.248 GB, free: 1.719 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.5451, allocations: 4 kB / 1.248 GB, free: 1.715 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.5451, allocations: 0 / 1.248 GB, free: 1.715 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.5451, allocations: 0 / 1.248 GB, free: 1.715 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5487/1.094, allocations: 1.728 MB / 1.25 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-05/1.094, allocations: 3.344 kB / 1.25 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000316/1.094, allocations: 60.31 kB / 1.25 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006236/1.095, allocations: 247.2 kB / 1.25 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.804e-05/1.095, allocations: 12.45 kB / 1.25 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001105/1.096, allocations: 1.003 MB / 1.251 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/1.096, allocations: 8.562 kB / 1.251 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001493/1.097, allocations: 0.901 MB / 1.252 GB, free: 189.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004481/1.098, allocations: 227.6 kB / 1.252 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/1.098, allocations: 9.219 kB / 1.252 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006147/1.099, allocations: 62.19 kB / 1.252 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/1.099, allocations: 40.47 kB / 1.252 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.706e-05/1.099, allocations: 12.58 kB / 1.252 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001127/1.1, allocations: 0.8167 MB / 1.253 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.61e-07/1.1, allocations: 0 / 1.253 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001349/1.101, allocations: 465.7 kB / 1.254 GB, free: 189.7 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.0004114/1.102, allocations: 182.4 kB / 1.254 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001918/1.104, allocations: 1.159 MB / 1.255 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/1.104, allocations: 0 / 1.255 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004851/1.104, allocations: 250 kB / 1.255 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003371/1.108, allocations: 0.627 MB / 1.256 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002446/1.11, allocations: 2.135 MB / 1.258 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006513/1.111, allocations: 1.183 MB / 1.259 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000144/1.111, allocations: 63.3 kB / 1.259 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of SimCode: time 1.523e-06/1.111, allocations: 0 / 1.259 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.03675/1.148, allocations: 21.33 MB / 1.28 GB, free: 181.1 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/jenkins1/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