Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.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.ParallelFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 90.52 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.00967/0.00967, allocations: 171.1 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.505/1.505, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.865/2.865, allocations: 462.7 MB / 0.7364 GB, free: 280 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003691/0.000369, allocations: 7.844 kB / 0.9028 GB, free: 36.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3196/0.32, allocations: 159.6 MB / 1.059 GB, free: 5.469 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow): time 0.1621/0.4822, allocations: 157.3 MB / 1.212 GB, free: 7.562 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00313/0.4853, allocations: 1.757 MB / 1.214 GB, free: 5.805 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002892/0.4857, allocations: 7.938 kB / 1.214 GB, free: 5.797 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005532/0.4862, allocations: 135.2 kB / 1.214 GB, free: 5.664 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001196/0.4874, allocations: 0.4941 MB / 1.215 GB, free: 5.168 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000929/0.4884, allocations: 354.2 kB / 1.215 GB, free: 4.824 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003268/0.4916, allocations: 3.498 MB / 1.218 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002596/0.4943, allocations: 2.211 MB / 1.221 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001853/0.4961, allocations: 0.8986 MB / 1.221 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008819/0.497, allocations: 0.7194 MB / 1.222 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.342e-05/0.4971, allocations: 32 kB / 1.222 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001355/0.4985, allocations: 0.799 MB / 1.223 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002647/0.4987, allocations: 274.9 kB / 1.223 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005863/0.4993, allocations: 0.5378 MB / 1.224 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001535/0.5009, allocations: 1.386 MB / 1.225 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.768e-06/0.5009, allocations: 0 / 1.225 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.174e-06/0.5009, allocations: 0 / 1.225 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.196e-05/0.5009, allocations: 0 / 1.225 GB, free: 10.43 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.001932/0.5029, allocations: 1.284 MB / 1.226 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.5029, allocations: 8.031 kB / 1.226 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007429/0.5037, allocations: 190.5 kB / 1.227 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001101/0.5048, allocations: 0.8022 MB / 1.227 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.653e-05/0.5048, allocations: 49 kB / 1.227 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.359e-05/0.5049, allocations: 60 kB / 1.227 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001173/0.5061, allocations: 0.8315 MB / 1.228 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.5061, allocations: 4 kB / 1.228 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.273e-05/0.5062, allocations: 20 kB / 1.228 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.862e-05/0.5062, allocations: 16 kB / 1.228 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009271/0.5071, allocations: 0.5773 MB / 1.229 GB, free: 6.395 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.00382/0.511, allocations: 4.246 MB / 1.233 GB, free: 1.883 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008046/0.5118, allocations: 455.5 kB / 1.233 GB, free: 1.43 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004892/0.5123, allocations: 345.8 kB / 1.234 GB, free: 1.09 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002948/0.5126, allocations: 198.2 kB / 1.234 GB, free: 0.8594 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005223/0.5131, allocations: 343 kB / 1.234 GB, free: 0.5039 MB / 0.9825 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000248/0.5134, allocations: 27.69 kB / 1.234 GB, free: 488 kB / 0.9825 GB Notification: Performance of pre-optimization done (n=33): time 2.093e-06/0.5134, allocations: 0 / 1.234 GB, free: 488 kB / 0.9825 GB Notification: Performance of matching and sorting (n=33): time 0.004935/0.5183, allocations: 1.587 MB / 1.236 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.399e-05/0.5184, allocations: 85.09 kB / 1.236 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001372/0.5198, allocations: 1.15 MB / 1.237 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.811e-05/0.5199, allocations: 37.7 kB / 1.237 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003899/0.5203, allocations: 0.4887 MB / 1.238 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.157e-05/0.5203, allocations: 114.4 kB / 1.238 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.729e-05/0.5204, allocations: 45.7 kB / 1.238 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001679/0.5206, allocations: 326.1 kB / 1.238 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004005/0.521, allocations: 232.9 kB / 1.238 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006304/0.5217, allocations: 0.5501 MB / 1.239 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009656/0.5226, allocations: 0.6893 MB / 1.239 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.5227, allocations: 0 / 1.239 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002384/0.525, allocations: 1.124 MB / 1.241 GB, free: 9.746 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001991/0.5253, allocations: 278.9 kB / 1.241 GB, free: 9.391 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/0.5253, allocations: 12 kB / 1.241 GB, free: 9.379 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001519/0.5268, allocations: 426.4 kB / 1.241 GB, free: 8.961 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003907/0.5272, allocations: 96.05 kB / 1.241 GB, free: 8.867 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001444/0.5287, allocations: 1.108 MB / 1.242 GB, free: 7.734 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008639/0.5295, allocations: 79.78 kB / 1.242 GB, free: 7.656 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.869e-05/0.5296, allocations: 31.98 kB / 1.242 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 8.927e-06/0.5296, allocations: 4 kB / 1.242 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001489/0.5311, allocations: 0.7787 MB / 1.243 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.5311, allocations: 8 kB / 1.243 GB, free: 6.824 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005749/0.5317, allocations: 235 kB / 1.243 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003705/0.5321, allocations: 95.86 kB / 1.244 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003782/0.5359, allocations: 3.051 MB / 1.247 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008538/0.5368, allocations: 83.81 kB / 1.247 GB, free: 3.234 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.978e-05/0.5368, allocations: 24 kB / 1.247 GB, free: 3.211 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 {(10,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0005427/0.5374, allocations: 474.1 kB / 1.247 GB, free: 2.738 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001274/0.5375, allocations: 98.78 kB / 1.247 GB, free: 2.641 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001381/0.5389, allocations: 0.7813 MB / 1.248 GB, free: 1.852 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.5389, allocations: 4 kB / 1.248 GB, free: 1.848 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.983e-06/0.5389, allocations: 0 / 1.248 GB, free: 1.848 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.5389, allocations: 0 / 1.248 GB, free: 1.848 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002491/0.5414, allocations: 1.752 MB / 1.25 GB, free: 16 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.5414, allocations: 4.219 kB / 1.25 GB, free: 12 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.538/1.079, allocations: 58.88 kB / 1.25 GB, free: 191.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006924/1.08, allocations: 267 kB / 1.25 GB, free: 191.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.059e-05/1.08, allocations: 8.75 kB / 1.25 GB, free: 191.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001055/1.081, allocations: 1.042 MB / 1.251 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/1.081, allocations: 6.844 kB / 1.251 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00147/1.083, allocations: 0.9056 MB / 1.252 GB, free: 191 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003617/1.083, allocations: 224.5 kB / 1.252 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001076/1.083, allocations: 20.8 kB / 1.252 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006432/1.084, allocations: 59.17 kB / 1.252 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.777e-05/1.084, allocations: 26.19 kB / 1.252 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.577e-05/1.084, allocations: 13.41 kB / 1.252 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009993/1.085, allocations: 0.8189 MB / 1.253 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.085, allocations: 3.828 kB / 1.253 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001268/1.086, allocations: 465.5 kB / 1.253 GB, free: 190.8 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 {(10,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003597/1.087, allocations: 171 kB / 1.254 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002291/1.089, allocations: 1.283 MB / 1.255 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/1.089, allocations: 0 / 1.255 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006288/1.09, allocations: 312.6 kB / 1.255 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003391/1.093, allocations: 0.6316 MB / 1.256 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002461/1.096, allocations: 2.183 MB / 1.258 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006047/1.096, allocations: 1.187 MB / 1.259 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009253/1.097, allocations: 318.4 kB / 1.259 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/1.097, allocations: 61.91 kB / 1.259 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of SimCode: time 6.11e-07/1.097, allocations: 3.938 kB / 1.259 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.04072/1.138, allocations: 20.92 MB / 1.28 GB, free: 182.6 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches