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.0007602/0.0007601, allocations: 99.58 kB / 16.02 MB, free: 76 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.0008529/0.0008529, allocations: 181.8 kB / 16.92 MB, free: 6.918 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.336/1.336, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.729/2.729, allocations: 462.6 MB / 0.737 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003454/0.0003455, allocations: 10.42 kB / 0.9034 GB, free: 36.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3143/0.3147, allocations: 159.6 MB / 1.059 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.1611/0.4758, allocations: 157.3 MB / 1.213 GB, free: 7.094 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003126/0.479, allocations: 1.753 MB / 1.215 GB, free: 5.34 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003851/0.4794, allocations: 7.938 kB / 1.215 GB, free: 5.332 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005508/0.48, allocations: 143.1 kB / 1.215 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001369/0.4814, allocations: 0.493 MB / 1.215 GB, free: 4.699 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001068/0.4825, allocations: 345.5 kB / 1.216 GB, free: 4.363 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003297/0.4858, allocations: 3.478 MB / 1.219 GB, free: 0.8789 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001036/0.4868, allocations: 0.7465 MB / 1.22 GB, free: 124 kB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001529/0.4884, allocations: 0.8948 MB / 1.221 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008807/0.4892, allocations: 0.7155 MB / 1.221 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.197e-05/0.4893, allocations: 36 kB / 1.221 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001372/0.4907, allocations: 0.799 MB / 1.222 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002785/0.491, allocations: 282.9 kB / 1.222 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005357/0.4916, allocations: 0.5223 MB / 1.223 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0009687/0.4925, allocations: 1.013 MB / 1.224 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.4925, allocations: 0 / 1.224 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4926, allocations: 0 / 1.224 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.029e-05/0.4926, allocations: 0 / 1.224 GB, free: 11.84 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.001928/0.4945, allocations: 1.268 MB / 1.225 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.4946, allocations: 8.031 kB / 1.225 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007101/0.4953, allocations: 186.4 kB / 1.225 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001104/0.4964, allocations: 0.7945 MB / 1.226 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.713e-05/0.4964, allocations: 44.94 kB / 1.226 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.727e-05/0.4965, allocations: 71.94 kB / 1.226 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001143/0.4977, allocations: 0.8004 MB / 1.227 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/0.4977, allocations: 7.938 kB / 1.227 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.822e-05/0.4978, allocations: 19.98 kB / 1.227 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.562e-05/0.4978, allocations: 16 kB / 1.227 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008678/0.4987, allocations: 0.5462 MB / 1.228 GB, free: 7.887 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.003898/0.5026, allocations: 4.595 MB / 1.232 GB, free: 2.906 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006964/0.5033, allocations: 426.2 kB / 1.232 GB, free: 2.48 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003759/0.5037, allocations: 254.2 kB / 1.233 GB, free: 2.23 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002821/0.504, allocations: 198.2 kB / 1.233 GB, free: 2 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004773/0.5045, allocations: 289.6 kB / 1.233 GB, free: 1.699 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=31): time 1.713e-06/0.5045, allocations: 0 / 1.233 GB, free: 1.699 MB / 0.9825 GB Notification: Performance of matching and sorting (n=31): time 0.001375/0.5058, allocations: 0.6583 MB / 1.234 GB, free: 1.035 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.749e-05/0.5059, allocations: 81.11 kB / 1.234 GB, free: 0.9375 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00124/0.5072, allocations: 1.11 MB / 1.235 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.71e-05/0.5072, allocations: 33.7 kB / 1.235 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003824/0.5076, allocations: 0.4924 MB / 1.235 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.915e-05/0.5077, allocations: 110.5 kB / 1.236 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.079e-05/0.5078, allocations: 45.62 kB / 1.236 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.5079, allocations: 333.9 kB / 1.236 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003545/0.5082, allocations: 212.7 kB / 1.236 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005755/0.5088, allocations: 0.5175 MB / 1.237 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008851/0.5097, allocations: 0.6423 MB / 1.237 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.5097, allocations: 0 / 1.237 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001135/0.5109, allocations: 0.7279 MB / 1.238 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001578/0.511, allocations: 275.3 kB / 1.238 GB, free: 12.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.5111, allocations: 4 kB / 1.238 GB, free: 12.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.5111, allocations: 11.94 kB / 1.238 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001766/0.5128, allocations: 359.4 kB / 1.239 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003123/0.516, allocations: 6.083 MB / 1.245 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008784/0.5169, allocations: 107.5 kB / 1.245 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.566e-05/0.517, allocations: 23.98 kB / 1.245 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.517, allocations: 5.719 kB / 1.245 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009188/0.5179, allocations: 0.5482 MB / 1.245 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.5179, allocations: 4.094 kB / 1.245 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.5179, allocations: 11.98 kB / 1.245 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005162/0.5185, allocations: 160.1 kB / 1.245 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.5185, allocations: 11.98 kB / 1.245 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000665/0.5191, allocations: 87.62 kB / 1.245 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.328e-05/0.5192, allocations: 20 kB / 1.245 GB, free: 4.441 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_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): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 10 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005227/0.5197, allocations: 482.8 kB / 1.246 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001194/0.5198, allocations: 98.78 kB / 1.246 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008745/0.5207, allocations: 0.4912 MB / 1.247 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/0.5207, allocations: 4 kB / 1.247 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.455e-06/0.5208, allocations: 3.984 kB / 1.247 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.5208, allocations: 0 / 1.247 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001951/0.5227, allocations: 1.403 MB / 1.248 GB, free: 1.879 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.5227, allocations: 0 / 1.248 GB, free: 1.879 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005874/0.5233, allocations: 143.9 kB / 1.248 GB, free: 1.738 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.039e-05/0.5234, allocations: 4 kB / 1.248 GB, free: 1.734 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.833e-05/0.5234, allocations: 11.98 kB / 1.248 GB, free: 1.723 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6264/1.15, allocations: 6.021 MB / 1.254 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.703e-06/1.15, allocations: 6.469 kB / 1.254 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001147/1.151, allocations: 0.6108 MB / 1.255 GB, free: 187 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003899/1.151, allocations: 221 kB / 1.255 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001076/1.151, allocations: 8.922 kB / 1.255 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004877/1.152, allocations: 52.53 kB / 1.255 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/1.152, allocations: 30.17 kB / 1.255 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.147e-05/1.152, allocations: 15.5 kB / 1.255 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001196/1.153, allocations: 0.7897 MB / 1.256 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.153, allocations: 0 / 1.256 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001306/1.155, allocations: 410.5 kB / 1.256 GB, free: 186.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_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 (not torn): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 10 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000481/1.155, allocations: 169.3 kB / 1.256 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003179/1.158, allocations: 1.117 MB / 1.257 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/1.158, allocations: 3.812 kB / 1.257 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007077/1.159, allocations: 292.2 kB / 1.258 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002353/1.161, allocations: 451.7 kB / 1.258 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002702/1.164, allocations: 2.161 MB / 1.26 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005004/1.165, allocations: 1.18 MB / 1.261 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001554/1.165, allocations: 69.16 kB / 1.261 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of SimCode: time 8.72e-07/1.165, allocations: 0 / 1.261 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.06613/1.231, allocations: 64.15 MB / 1.324 GB, free: 141.9 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/jenkins1/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