Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.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.SeriesFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 84.22 kB / 15.06 MB, free: 1.09 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.001156/0.001156, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.751/2.751, allocations: 462.6 MB / 0.736 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003645/0.0003646, allocations: 8.125 kB / 0.9021 GB, free: 36.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.3301, allocations: 159.6 MB / 1.058 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.1553/0.4855, allocations: 146.7 MB / 1.201 GB, free: 2.211 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.003005/0.4886, allocations: 1.661 MB / 1.203 GB, free: 0.5508 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00025/0.4889, allocations: 7.938 kB / 1.203 GB, free: 0.543 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0004321/0.4893, allocations: 111.2 kB / 1.203 GB, free: 444 kB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0009986/0.4903, allocations: 386.1 kB / 1.203 GB, free: 56 kB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009285/0.4913, allocations: 327.5 kB / 1.204 GB, free: 15.74 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002955/0.4942, allocations: 2.985 MB / 1.207 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008985/0.4951, allocations: 0.6915 MB / 1.207 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001326/0.4965, allocations: 0.8675 MB / 1.208 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007894/0.4973, allocations: 0.704 MB / 1.209 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.917e-05/0.4974, allocations: 36 kB / 1.209 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00105/0.4984, allocations: 0.5574 MB / 1.209 GB, free: 9.871 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.000277/0.4987, allocations: 282.9 kB / 1.21 GB, free: 9.594 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000236/0.499, allocations: 233.1 kB / 1.21 GB, free: 9.359 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001032/0.5, allocations: 1.021 MB / 1.211 GB, free: 8.336 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.5, allocations: 0 / 1.211 GB, free: 8.336 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.125e-06/0.5, allocations: 4 kB / 1.211 GB, free: 8.332 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.171e-05/0.5, allocations: 0 / 1.211 GB, free: 8.332 MB / 0.9669 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.001926/0.502, allocations: 1.295 MB / 1.212 GB, free: 6.973 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.502, allocations: 8.031 kB / 1.212 GB, free: 6.965 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007067/0.5027, allocations: 190.4 kB / 1.212 GB, free: 6.777 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001307/0.504, allocations: 0.7924 MB / 1.213 GB, free: 5.93 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.938e-05/0.5041, allocations: 41 kB / 1.213 GB, free: 5.891 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.928e-05/0.5042, allocations: 63.94 kB / 1.213 GB, free: 5.828 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001113/0.5053, allocations: 0.8003 MB / 1.214 GB, free: 4.949 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.5053, allocations: 4 kB / 1.214 GB, free: 4.945 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.942e-05/0.5054, allocations: 20 kB / 1.214 GB, free: 4.926 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.468e-05/0.5054, allocations: 19.94 kB / 1.214 GB, free: 4.906 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008646/0.5063, allocations: 0.5384 MB / 1.215 GB, free: 4.367 MB / 0.9669 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.003768/0.5101, allocations: 4.603 MB / 1.219 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006833/0.5108, allocations: 431 kB / 1.22 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003739/0.5111, allocations: 258.6 kB / 1.22 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002777/0.5114, allocations: 190.2 kB / 1.22 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004779/0.5119, allocations: 305.5 kB / 1.22 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=31): time 1.824e-06/0.5119, allocations: 0 / 1.22 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of matching and sorting (n=31): time 0.001287/0.5132, allocations: 0.6544 MB / 1.221 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/0.5133, allocations: 81.11 kB / 1.221 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001243/0.5145, allocations: 1.106 MB / 1.222 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.18e-05/0.5146, allocations: 37.7 kB / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003886/0.515, allocations: 496.1 kB / 1.223 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.26e-05/0.5151, allocations: 114.5 kB / 1.223 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.378e-05/0.5151, allocations: 4 kB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.5152, allocations: 329.9 kB / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003276/0.5156, allocations: 180.7 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005671/0.5161, allocations: 0.5058 MB / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004321/0.5166, allocations: 289.4 kB / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.5166, allocations: 3.938 kB / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001042/0.5176, allocations: 0.6778 MB / 1.225 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001585/0.5178, allocations: 266.6 kB / 1.225 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.5178, allocations: 8 kB / 1.225 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.5178, allocations: 8.281 kB / 1.225 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00174/0.5196, allocations: 383.4 kB / 1.225 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003203/0.5228, allocations: 6.102 MB / 1.231 GB, free: 2.426 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007069/0.5235, allocations: 103.5 kB / 1.231 GB, free: 2.324 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-05/0.5236, allocations: 24 kB / 1.231 GB, free: 2.301 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 8.766e-06/0.5236, allocations: 4 kB / 1.231 GB, free: 2.297 MB / 0.9825 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008853/0.5245, allocations: 0.5401 MB / 1.232 GB, free: 1.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.5245, allocations: 8 kB / 1.232 GB, free: 1.742 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.879e-06/0.5245, allocations: 8 kB / 1.232 GB, free: 1.734 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005327/0.5251, allocations: 160.4 kB / 1.232 GB, free: 1.578 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.304e-05/0.5251, allocations: 19.88 kB / 1.232 GB, free: 1.559 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006124/0.5257, allocations: 95.47 kB / 1.232 GB, free: 1.465 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.895e-05/0.5258, allocations: 27.98 kB / 1.232 GB, free: 1.438 MB / 0.9825 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 ($whenCondition1,$PRE.pulse_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005081/0.5263, allocations: 476.6 kB / 1.233 GB, free: 0.9609 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001099/0.5264, allocations: 98.89 kB / 1.233 GB, free: 0.8633 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008774/0.5273, allocations: 0.495 MB / 1.233 GB, free: 372 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.5273, allocations: 4 kB / 1.233 GB, free: 368 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.5273, allocations: 3.953 kB / 1.233 GB, free: 364 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.5273, allocations: 0 / 1.233 GB, free: 364 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001973/0.5293, allocations: 1.405 MB / 1.235 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.5293, allocations: 4 kB / 1.235 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005964/0.5299, allocations: 152 kB / 1.235 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/0.5299, allocations: 4 kB / 1.235 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.47e-05/0.53, allocations: 15.98 kB / 1.235 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002778/0.5327, allocations: 6.009 MB / 1.241 GB, free: 8.461 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/0.5328, allocations: 4.031 kB / 1.241 GB, free: 8.457 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008642/0.5336, allocations: 0.6141 MB / 1.241 GB, free: 7.805 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00032/0.534, allocations: 211.8 kB / 1.241 GB, free: 7.578 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001063/0.5341, allocations: 8 kB / 1.241 GB, free: 7.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004495/0.5345, allocations: 59.78 kB / 1.241 GB, free: 7.512 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.161e-05/0.5346, allocations: 31.92 kB / 1.241 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.457e-05/0.5347, allocations: 15.98 kB / 1.242 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009839/0.5356, allocations: 0.7797 MB / 1.242 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.91e-07/0.5356, allocations: 0 / 1.242 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001106/0.5368, allocations: 419.4 kB / 1.243 GB, free: 6.262 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_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): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003755/0.5371, allocations: 181.3 kB / 1.243 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002914/0.5401, allocations: 1.102 MB / 1.244 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.738e-06/0.5401, allocations: 0 / 1.244 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007879/0.5409, allocations: 299.5 kB / 1.244 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001947/0.5428, allocations: 467.5 kB / 1.245 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003023/0.5459, allocations: 2.023 MB / 1.247 GB, free: 2.148 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007114/0.5466, allocations: 1.184 MB / 1.248 GB, free: 0.9336 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001048/0.5477, allocations: 375.5 kB / 1.248 GB, free: 0.5625 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001413/0.5478, allocations: 59.44 kB / 1.248 GB, free: 0.5039 MB / 0.9981 GB Notification: Performance of SimCode: time 6.92e-07/0.5478, allocations: 0 / 1.248 GB, free: 0.5039 MB / 0.9981 GB Notification: Performance of Templates: time 0.5158/1.064, allocations: 16.76 MB / 1.265 GB, free: 187.5 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches