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.001512/0.001512, allocations: 108.3 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.001763/0.001763, allocations: 192.3 kB / 17.35 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.1 MB, free: 15.15 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.392/2.392, allocations: 437 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 67.84 kB / 1.019 GB, free: 9.387 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7219/0.7239, allocations: 151.6 MB / 1.167 GB, free: 3.797 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.161/0.8849, allocations: 161.6 MB / 1.325 GB, free: 1.559 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003108/0.888, allocations: 1.753 MB / 1.327 GB, free: 15.8 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000348/0.8884, allocations: 11.94 kB / 1.327 GB, free: 15.79 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0005762/0.889, allocations: 170.9 kB / 1.327 GB, free: 15.62 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001331/0.8904, allocations: 0.5445 MB / 1.328 GB, free: 15.07 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001117/0.8915, allocations: 395.5 kB / 1.328 GB, free: 14.69 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.00275/0.8943, allocations: 2.533 MB / 1.33 GB, free: 12.15 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001283/0.8956, allocations: 0.9255 MB / 1.331 GB, free: 11.21 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001774/0.8974, allocations: 1.043 MB / 1.332 GB, free: 10.17 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001163/0.8985, allocations: 0.7039 MB / 1.333 GB, free: 9.461 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001994/0.8988, allocations: 59.94 kB / 1.333 GB, free: 9.402 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001454/0.9002, allocations: 0.7406 MB / 1.334 GB, free: 8.66 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0004052/0.9006, allocations: 310.9 kB / 1.334 GB, free: 8.355 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0008349/0.9015, allocations: 0.5401 MB / 1.335 GB, free: 7.812 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001735/0.9032, allocations: 1.4 MB / 1.336 GB, free: 6.41 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.9032, allocations: 0 / 1.336 GB, free: 6.41 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.353e-06/0.9033, allocations: 0 / 1.336 GB, free: 6.41 MB / 1.061 GB Notification: Performance of Transformations before backend: time 3.852e-05/0.9033, allocations: 0 / 1.336 GB, free: 6.41 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.002642/0.9059, allocations: 1.447 MB / 1.337 GB, free: 4.898 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.906, allocations: 12.92 kB / 1.337 GB, free: 4.887 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008213/0.9068, allocations: 190.4 kB / 1.338 GB, free: 4.699 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001547/0.9084, allocations: 0.845 MB / 1.338 GB, free: 3.797 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.977e-05/0.9084, allocations: 45 kB / 1.338 GB, free: 3.754 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.829e-05/0.9085, allocations: 67.98 kB / 1.339 GB, free: 3.688 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001209/0.9097, allocations: 0.7849 MB / 1.339 GB, free: 2.828 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/0.9098, allocations: 7.938 kB / 1.339 GB, free: 2.82 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.041e-05/0.9098, allocations: 20 kB / 1.339 GB, free: 2.801 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.457e-05/0.9098, allocations: 16 kB / 1.339 GB, free: 2.785 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000953/0.9108, allocations: 0.5344 MB / 1.34 GB, free: 2.25 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.004181/0.915, allocations: 4.591 MB / 1.344 GB, free: 13.28 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007178/0.9157, allocations: 410.8 kB / 1.345 GB, free: 12.87 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004161/0.9161, allocations: 258.9 kB / 1.345 GB, free: 12.61 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002805/0.9164, allocations: 190.2 kB / 1.345 GB, free: 12.39 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004939/0.9169, allocations: 286.2 kB / 1.345 GB, free: 12.09 MB / 1.076 GB Notification: Performance of pre-optimization done (n=31): time 4.048e-06/0.917, allocations: 4 kB / 1.345 GB, free: 12.09 MB / 1.076 GB Notification: Performance of matching and sorting (n=31): time 0.001396/0.9184, allocations: 0.6295 MB / 1.346 GB, free: 11.45 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.802e-05/0.9184, allocations: 85.09 kB / 1.346 GB, free: 11.35 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001406/0.9199, allocations: 1.118 MB / 1.347 GB, free: 10.21 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.934e-05/0.9199, allocations: 33.7 kB / 1.347 GB, free: 10.18 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004227/0.9203, allocations: 0.4884 MB / 1.348 GB, free: 9.68 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001069/0.9205, allocations: 110.5 kB / 1.348 GB, free: 9.57 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000162/0.9206, allocations: 106 kB / 1.348 GB, free: 9.461 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.9208, allocations: 325.9 kB / 1.348 GB, free: 9.137 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003978/0.9212, allocations: 218.3 kB / 1.348 GB, free: 8.918 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006304/0.9218, allocations: 0.5252 MB / 1.349 GB, free: 8.262 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009136/0.9227, allocations: 0.6353 MB / 1.35 GB, free: 7.547 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/0.9227, allocations: 12 kB / 1.35 GB, free: 7.535 MB / 1.076 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001226/0.924, allocations: 0.7204 MB / 1.35 GB, free: 6.801 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.581e-05/0.924, allocations: 36.2 kB / 1.35 GB, free: 6.762 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.924, allocations: 7.984 kB / 1.35 GB, free: 6.754 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.039e-05/0.9241, allocations: 8 kB / 1.35 GB, free: 6.746 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001834/0.9259, allocations: 359.6 kB / 1.351 GB, free: 6.395 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003451/0.9294, allocations: 6.079 MB / 1.357 GB, free: 84 kB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006075/0.93, allocations: 75.7 kB / 1.357 GB, free: 8 kB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.335e-05/0.9301, allocations: 24.05 kB / 1.357 GB, free: 15.98 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006741/0.9308, allocations: 0.5005 MB / 1.357 GB, free: 15.48 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005558/0.9313, allocations: 494 kB / 1.358 GB, free: 14.86 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007791/0.9321, allocations: 0.5567 MB / 1.358 GB, free: 14.23 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.126e-06/0.9321, allocations: 0 / 1.358 GB, free: 14.23 MB / 1.092 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001067/0.9332, allocations: 0.6499 MB / 1.359 GB, free: 13.56 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.711e-05/0.9332, allocations: 33.7 kB / 1.359 GB, free: 13.52 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.9333, allocations: 4 kB / 1.359 GB, free: 13.52 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.576e-06/0.9333, allocations: 8 kB / 1.359 GB, free: 13.51 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005443/0.9338, allocations: 156.2 kB / 1.359 GB, free: 13.36 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.9338, allocations: 11.94 kB / 1.359 GB, free: 13.35 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005924/0.9344, allocations: 64.03 kB / 1.359 GB, free: 13.29 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.05e-05/0.9345, allocations: 23.98 kB / 1.359 GB, free: 13.26 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.0001707/0.9347, allocations: 228 kB / 1.359 GB, free: 13.03 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/0.9348, allocations: 98.97 kB / 1.359 GB, free: 12.93 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008632/0.9357, allocations: 487 kB / 1.36 GB, free: 12.45 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.555e-06/0.9357, allocations: 3.984 kB / 1.36 GB, free: 12.45 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.9357, allocations: 0 / 1.36 GB, free: 12.45 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003229/0.936, allocations: 215.8 kB / 1.36 GB, free: 12.21 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001245/0.9361, allocations: 4 kB / 1.36 GB, free: 12.21 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003618/0.9365, allocations: 27.97 kB / 1.36 GB, free: 12.18 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.941e-05/0.9366, allocations: 27.91 kB / 1.36 GB, free: 12.16 MB / 1.092 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001517/0.9381, allocations: 0.7738 MB / 1.361 GB, free: 11.34 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001197/0.9393, allocations: 0.9314 MB / 1.362 GB, free: 10.39 MB / 1.092 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003187/0.9397, allocations: 171.8 kB / 1.362 GB, free: 10.23 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0009886/0.9407, allocations: 0.7914 MB / 1.363 GB, free: 9.426 MB / 1.092 GB Notification: Performance of Backend: time 6.81e-07/0.9407, allocations: 0 / 1.363 GB, free: 9.426 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.003888/0.9446, allocations: 1.179 MB / 1.364 GB, free: 8.227 MB / 1.092 GB Notification: Performance of SimCode: time 0.004012/0.9486, allocations: 2.579 MB / 1.366 GB, free: 5.609 MB / 1.092 GB Notification: Performance of Templates: time 0.03223/0.9808, allocations: 19.41 MB / 1.385 GB, free: 2.375 MB / 1.107 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