Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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.SeriesDpOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 109.3 kB / 16.42 MB, free: 6.434 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.001152/0.001152, allocations: 187.9 kB / 17.35 MB, free: 5.688 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.303/1.303, allocations: 222.9 MB / 241.1 MB, free: 15.07 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.42/2.42, allocations: 437.1 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 63.91 kB / 1.019 GB, free: 9.41 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7459/0.7472, allocations: 151.6 MB / 1.167 GB, free: 3.891 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.1738/0.921, allocations: 161.6 MB / 1.325 GB, free: 1.648 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.005011/0.9261, allocations: 3.632 MB / 1.329 GB, free: 14 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003135/0.9264, allocations: 7.938 kB / 1.329 GB, free: 14 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0005746/0.9271, allocations: 162.9 kB / 1.329 GB, free: 13.84 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001416/0.9285, allocations: 0.5562 MB / 1.329 GB, free: 13.28 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001272/0.9298, allocations: 432.6 kB / 1.33 GB, free: 12.86 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002825/0.9326, allocations: 2.544 MB / 1.332 GB, free: 10.3 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001227/0.9338, allocations: 0.9342 MB / 1.333 GB, free: 9.363 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001782/0.9356, allocations: 1.051 MB / 1.334 GB, free: 8.309 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009239/0.9366, allocations: 0.7117 MB / 1.335 GB, free: 7.594 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.000134/0.9367, allocations: 56 kB / 1.335 GB, free: 7.539 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001585/0.9383, allocations: 0.7406 MB / 1.336 GB, free: 6.797 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003446/0.9387, allocations: 310.9 kB / 1.336 GB, free: 6.492 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.000805/0.9395, allocations: 0.5479 MB / 1.337 GB, free: 5.941 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002081/0.9416, allocations: 1.404 MB / 1.338 GB, free: 4.535 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.9416, allocations: 0 / 1.338 GB, free: 4.535 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.713e-06/0.9416, allocations: 0 / 1.338 GB, free: 4.535 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.747e-05/0.9416, allocations: 4 kB / 1.338 GB, free: 4.531 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.0024/0.944, allocations: 1.481 MB / 1.339 GB, free: 2.984 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.9441, allocations: 8.031 kB / 1.339 GB, free: 2.977 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007812/0.9449, allocations: 203.1 kB / 1.34 GB, free: 2.777 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001336/0.9462, allocations: 0.854 MB / 1.34 GB, free: 1.867 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.955e-05/0.9463, allocations: 45 kB / 1.34 GB, free: 1.824 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.487e-05/0.9464, allocations: 63.92 kB / 1.341 GB, free: 1.762 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00118/0.9476, allocations: 0.7926 MB / 1.341 GB, free: 0.8945 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.9476, allocations: 0 / 1.341 GB, free: 0.8945 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.144e-05/0.9477, allocations: 24 kB / 1.341 GB, free: 0.8711 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.708e-05/0.9477, allocations: 12 kB / 1.341 GB, free: 0.8594 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009488/0.9486, allocations: 0.5383 MB / 1.342 GB, free: 328 kB / 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.004132/0.9528, allocations: 4.592 MB / 1.346 GB, free: 11.35 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000751/0.9535, allocations: 422.2 kB / 1.347 GB, free: 10.93 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004039/0.954, allocations: 244.7 kB / 1.347 GB, free: 10.68 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000333/0.9543, allocations: 198.2 kB / 1.347 GB, free: 10.45 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005107/0.9548, allocations: 297.9 kB / 1.347 GB, free: 10.14 MB / 1.076 GB Notification: Performance of pre-optimization done (n=31): time 2.776e-06/0.9548, allocations: 0 / 1.347 GB, free: 10.14 MB / 1.076 GB Notification: Performance of matching and sorting (n=31): time 0.004232/0.9591, allocations: 1.318 MB / 1.349 GB, free: 8.797 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.9592, allocations: 81.11 kB / 1.349 GB, free: 8.699 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001447/0.9606, allocations: 1.118 MB / 1.35 GB, free: 7.562 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.825e-05/0.9607, allocations: 37.7 kB / 1.35 GB, free: 7.52 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004034/0.9611, allocations: 0.4891 MB / 1.35 GB, free: 7.023 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/0.9612, allocations: 111 kB / 1.351 GB, free: 6.914 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001724/0.9614, allocations: 118.2 kB / 1.351 GB, free: 6.793 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.9615, allocations: 322 kB / 1.351 GB, free: 6.473 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004239/0.9619, allocations: 226.2 kB / 1.351 GB, free: 6.246 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006441/0.9626, allocations: 0.5213 MB / 1.352 GB, free: 5.594 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009833/0.9636, allocations: 0.6314 MB / 1.352 GB, free: 4.883 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.488e-05/0.9636, allocations: 8 kB / 1.352 GB, free: 4.875 MB / 1.076 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002585/0.9662, allocations: 1.041 MB / 1.353 GB, free: 3.816 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.553e-05/0.9663, allocations: 33.7 kB / 1.353 GB, free: 3.777 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.9663, allocations: 8 kB / 1.353 GB, free: 3.77 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00162/0.9679, allocations: 367.2 kB / 1.354 GB, free: 3.41 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002594/0.9682, allocations: 63.84 kB / 1.354 GB, free: 3.348 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001194/0.9694, allocations: 1.002 MB / 1.355 GB, free: 2.32 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007796/0.9702, allocations: 79.75 kB / 1.355 GB, free: 2.242 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.499e-05/0.9703, allocations: 35.98 kB / 1.355 GB, free: 2.207 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008086/0.9711, allocations: 0.4967 MB / 1.355 GB, free: 1.707 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006429/0.9718, allocations: 489.9 kB / 1.356 GB, free: 1.094 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008422/0.9726, allocations: 0.5567 MB / 1.356 GB, free: 468 kB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.751e-06/0.9726, allocations: 4 kB / 1.356 GB, free: 464 kB / 1.076 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001763/0.9744, allocations: 0.8304 MB / 1.357 GB, free: 15.61 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.682e-05/0.9745, allocations: 37.7 kB / 1.357 GB, free: 15.56 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.9745, allocations: 4 kB / 1.357 GB, free: 15.56 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000604/0.9751, allocations: 209.3 kB / 1.357 GB, free: 15.35 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002337/0.9753, allocations: 67.78 kB / 1.357 GB, free: 15.29 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004131/0.9795, allocations: 3.333 MB / 1.361 GB, free: 11.79 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007818/0.9803, allocations: 72.12 kB / 1.361 GB, free: 11.72 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.883e-05/0.9803, allocations: 23.98 kB / 1.361 GB, free: 11.7 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 (34): * Single equations (assignments): 32 * 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 {(1,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0002234/0.9806, allocations: 212.2 kB / 1.361 GB, free: 11.48 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001972/0.9808, allocations: 103.3 kB / 1.361 GB, free: 11.38 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001429/0.9822, allocations: 0.7101 MB / 1.362 GB, free: 10.66 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.9822, allocations: 0 / 1.362 GB, free: 10.66 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.9822, allocations: 0 / 1.362 GB, free: 10.66 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003376/0.9826, allocations: 220.3 kB / 1.362 GB, free: 10.42 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001562/0.9827, allocations: 11.98 kB / 1.362 GB, free: 10.41 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000414/0.9832, allocations: 19.98 kB / 1.362 GB, free: 10.39 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001447/0.9833, allocations: 48.02 kB / 1.362 GB, free: 10.34 MB / 1.092 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001517/0.9848, allocations: 0.8011 MB / 1.363 GB, free: 9.531 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001314/0.9862, allocations: 0.9288 MB / 1.364 GB, free: 8.59 MB / 1.092 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003499/0.9865, allocations: 175.8 kB / 1.364 GB, free: 8.418 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.00111/0.9876, allocations: 0.7994 MB / 1.365 GB, free: 7.609 MB / 1.092 GB Notification: Performance of Backend: time 5.21e-07/0.9877, allocations: 0 / 1.365 GB, free: 7.609 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.002909/0.9906, allocations: 1.176 MB / 1.366 GB, free: 6.406 MB / 1.092 GB Notification: Performance of SimCode: time 0.004378/0.995, allocations: 2.674 MB / 1.368 GB, free: 3.68 MB / 1.092 GB Notification: Performance of Templates: time 0.03683/1.032, allocations: 20.62 MB / 1.389 GB, free: 15.25 MB / 1.123 GB make -j1 -f Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & ./Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches