Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001362/0.001362, allocations: 107.6 kB / 16.41 MB, free: 6.508 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.001323/0.001323, allocations: 187 kB / 17.34 MB, free: 5.742 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.306/1.306, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.398/2.398, allocations: 437 MB / 0.7112 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 72.09 kB / 1.019 GB, free: 9.379 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8636/0.8649, allocations: 151.6 MB / 1.167 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.1805/1.045, allocations: 161.6 MB / 1.325 GB, free: 1.609 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003142/1.049, allocations: 1.757 MB / 1.327 GB, free: 15.85 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004054/1.049, allocations: 11.94 kB / 1.327 GB, free: 15.84 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0006418/1.05, allocations: 166.9 kB / 1.327 GB, free: 15.67 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001382/1.051, allocations: 0.5446 MB / 1.328 GB, free: 15.12 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001111/1.052, allocations: 392 kB / 1.328 GB, free: 14.75 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002549/1.055, allocations: 2.528 MB / 1.33 GB, free: 12.21 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001185/1.056, allocations: 0.9411 MB / 1.331 GB, free: 11.26 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001844/1.058, allocations: 1.039 MB / 1.332 GB, free: 10.21 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009586/1.059, allocations: 0.7039 MB / 1.333 GB, free: 9.508 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001001/1.059, allocations: 59.94 kB / 1.333 GB, free: 9.449 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001704/1.061, allocations: 0.7367 MB / 1.334 GB, free: 8.711 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003081/1.061, allocations: 310.9 kB / 1.334 GB, free: 8.406 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0006567/1.062, allocations: 0.5439 MB / 1.335 GB, free: 7.859 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001626/1.063, allocations: 1.4 MB / 1.336 GB, free: 6.457 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/1.063, allocations: 0 / 1.336 GB, free: 6.457 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.753e-06/1.063, allocations: 0 / 1.336 GB, free: 6.457 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.248e-05/1.063, allocations: 0 / 1.336 GB, free: 6.457 MB / 1.061 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.00237/1.066, allocations: 1.451 MB / 1.337 GB, free: 4.941 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/1.066, allocations: 8.922 kB / 1.337 GB, free: 4.934 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000777/1.067, allocations: 186.5 kB / 1.338 GB, free: 4.75 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00142/1.068, allocations: 0.8489 MB / 1.338 GB, free: 3.844 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.727e-05/1.068, allocations: 45 kB / 1.338 GB, free: 3.801 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.599e-05/1.068, allocations: 64 kB / 1.339 GB, free: 3.738 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001126/1.069, allocations: 0.7887 MB / 1.339 GB, free: 2.875 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/1.069, allocations: 4 kB / 1.339 GB, free: 2.871 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.868e-05/1.069, allocations: 20 kB / 1.339 GB, free: 2.852 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.579e-05/1.069, allocations: 16 kB / 1.339 GB, free: 2.836 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008474/1.07, allocations: 0.5305 MB / 1.34 GB, free: 2.305 MB / 1.061 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.004178/1.074, allocations: 4.591 MB / 1.344 GB, free: 13.33 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007139/1.075, allocations: 418.8 kB / 1.345 GB, free: 12.91 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003834/1.076, allocations: 252.6 kB / 1.345 GB, free: 12.67 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002952/1.076, allocations: 194.2 kB / 1.345 GB, free: 12.44 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004899/1.076, allocations: 290.1 kB / 1.345 GB, free: 12.14 MB / 1.076 GB Notification: Performance of pre-optimization done (n=31): time 2.274e-06/1.076, allocations: 4 kB / 1.345 GB, free: 12.14 MB / 1.076 GB Notification: Performance of matching and sorting (n=31): time 0.0014/1.078, allocations: 0.6294 MB / 1.346 GB, free: 11.5 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.205e-05/1.078, allocations: 85.05 kB / 1.346 GB, free: 11.4 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001331/1.079, allocations: 1.114 MB / 1.347 GB, free: 10.27 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.667e-05/1.079, allocations: 33.7 kB / 1.347 GB, free: 10.23 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003919/1.08, allocations: 0.4923 MB / 1.348 GB, free: 9.727 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 9.344e-05/1.08, allocations: 110.5 kB / 1.348 GB, free: 9.617 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001575/1.08, allocations: 106 kB / 1.348 GB, free: 9.508 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001316/1.08, allocations: 329.9 kB / 1.348 GB, free: 9.18 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003585/1.08, allocations: 214.3 kB / 1.348 GB, free: 8.965 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005986/1.081, allocations: 0.5252 MB / 1.349 GB, free: 8.309 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008506/1.082, allocations: 0.6394 MB / 1.35 GB, free: 7.59 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.141e-06/1.082, allocations: 8 kB / 1.35 GB, free: 7.582 MB / 1.076 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001171/1.083, allocations: 0.7165 MB / 1.35 GB, free: 6.852 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.844e-05/1.083, allocations: 37.69 kB / 1.35 GB, free: 6.809 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/1.083, allocations: 11.94 kB / 1.35 GB, free: 6.797 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.253e-05/1.083, allocations: 8 kB / 1.35 GB, free: 6.789 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001713/1.085, allocations: 351.7 kB / 1.351 GB, free: 6.445 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003324/1.088, allocations: 6.079 MB / 1.357 GB, free: 136 kB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007634/1.089, allocations: 75.48 kB / 1.357 GB, free: 60 kB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.595e-05/1.089, allocations: 24 kB / 1.357 GB, free: 36 kB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008015/1.09, allocations: 0.4967 MB / 1.357 GB, free: 15.54 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005371/1.09, allocations: 494 kB / 1.358 GB, free: 14.92 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007282/1.091, allocations: 0.5567 MB / 1.358 GB, free: 14.28 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.096e-06/1.091, allocations: 0 / 1.358 GB, free: 14.28 MB / 1.092 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001042/1.092, allocations: 0.646 MB / 1.359 GB, free: 13.62 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.456e-05/1.092, allocations: 37.69 kB / 1.359 GB, free: 13.58 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/1.092, allocations: 8 kB / 1.359 GB, free: 13.57 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/1.092, allocations: 8 kB / 1.359 GB, free: 13.56 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005222/1.093, allocations: 152.3 kB / 1.359 GB, free: 13.41 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/1.093, allocations: 19.86 kB / 1.359 GB, free: 13.39 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005712/1.093, allocations: 64.03 kB / 1.359 GB, free: 13.33 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.448e-05/1.093, allocations: 20 kB / 1.359 GB, free: 13.31 MB / 1.092 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.0001993/1.094, allocations: 228 kB / 1.359 GB, free: 13.08 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001185/1.094, allocations: 98.78 kB / 1.359 GB, free: 12.98 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008903/1.095, allocations: 487 kB / 1.36 GB, free: 12.5 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/1.095, allocations: 4 kB / 1.36 GB, free: 12.5 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/1.095, allocations: 0 / 1.36 GB, free: 12.5 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/1.095, allocations: 3.984 kB / 1.36 GB, free: 12.49 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001951/1.097, allocations: 1.386 MB / 1.361 GB, free: 11.03 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/1.097, allocations: 224 / 1.361 GB, free: 11.03 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000571/1.097, allocations: 163.7 kB / 1.361 GB, free: 10.87 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/1.097, allocations: 4 kB / 1.361 GB, free: 10.87 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.331e-05/1.097, allocations: 8.188 kB / 1.361 GB, free: 10.86 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002707/1.1, allocations: 6.017 MB / 1.367 GB, free: 4.609 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/1.1, allocations: 4.031 kB / 1.367 GB, free: 4.605 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008647/1.101, allocations: 0.6107 MB / 1.368 GB, free: 3.957 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003588/1.101, allocations: 207.9 kB / 1.368 GB, free: 3.734 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.467e-05/1.101, allocations: 8 kB / 1.368 GB, free: 3.727 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003619/1.102, allocations: 27.97 kB / 1.368 GB, free: 3.699 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.617e-05/1.102, allocations: 31.91 kB / 1.368 GB, free: 3.668 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.118e-05/1.102, allocations: 12 kB / 1.368 GB, free: 3.656 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.000954/1.103, allocations: 0.7914 MB / 1.369 GB, free: 2.855 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.81e-07/1.103, allocations: 0 / 1.369 GB, free: 2.855 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001098/1.104, allocations: 403.4 kB / 1.369 GB, free: 2.461 MB / 1.092 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.0004321/1.104, allocations: 180.2 kB / 1.37 GB, free: 2.285 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.002858/1.107, allocations: 1.096 MB / 1.371 GB, free: 1.168 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/1.107, allocations: 0 / 1.371 GB, free: 1.168 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0007052/1.108, allocations: 279.6 kB / 1.371 GB, free: 0.8945 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001764/1.11, allocations: 449.6 kB / 1.371 GB, free: 464 kB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002963/1.113, allocations: 1.849 MB / 1.373 GB, free: 14.55 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006728/1.113, allocations: 1.18 MB / 1.374 GB, free: 13.34 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001665/1.114, allocations: 67.44 kB / 1.374 GB, free: 13.28 MB / 1.107 GB Notification: Performance of SimCode: time 1.002e-06/1.114, allocations: 0 / 1.374 GB, free: 13.28 MB / 1.107 GB Notification: Performance of Templates: time 0.06036/1.174, allocations: 64.36 MB / 1.437 GB, free: 12.93 MB / 1.17 GB make -j1 -f Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.makefile (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & ./Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches