Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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.SeriesFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 115.8 kB / 16.42 MB, free: 6.453 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.001382/0.001383, allocations: 187.9 kB / 17.35 MB, free: 5.734 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.3/1.3, allocations: 222.9 MB / 241 MB, free: 15.08 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.407/2.407, allocations: 437.1 MB / 0.7112 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 63.89 kB / 1.019 GB, free: 9.438 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7012/0.7026, allocations: 151.6 MB / 1.167 GB, free: 3.883 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.1622/0.8648, allocations: 161.6 MB / 1.325 GB, free: 1.629 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002881/0.8677, allocations: 1.749 MB / 1.327 GB, free: 15.88 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002542/0.868, allocations: 11.94 kB / 1.327 GB, free: 15.86 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0005188/0.8685, allocations: 166.9 kB / 1.327 GB, free: 15.7 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001191/0.8697, allocations: 0.5522 MB / 1.328 GB, free: 15.14 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009612/0.8707, allocations: 395 kB / 1.328 GB, free: 14.76 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002465/0.8732, allocations: 2.533 MB / 1.33 GB, free: 12.22 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001049/0.8743, allocations: 0.9265 MB / 1.331 GB, free: 11.29 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001369/0.8756, allocations: 1.039 MB / 1.332 GB, free: 10.24 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007543/0.8764, allocations: 0.7156 MB / 1.333 GB, free: 9.523 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.632e-05/0.8765, allocations: 56 kB / 1.333 GB, free: 9.469 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001202/0.8777, allocations: 0.7367 MB / 1.334 GB, free: 8.73 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002904/0.878, allocations: 310.9 kB / 1.334 GB, free: 8.426 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0005635/0.8786, allocations: 0.5439 MB / 1.335 GB, free: 7.879 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001503/0.8801, allocations: 1.416 MB / 1.336 GB, free: 6.461 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.8801, allocations: 0 / 1.336 GB, free: 6.461 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.332e-06/0.8801, allocations: 0 / 1.336 GB, free: 6.461 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.176e-05/0.8801, allocations: 0 / 1.336 GB, free: 6.461 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.002089/0.8822, allocations: 1.481 MB / 1.337 GB, free: 4.914 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.8823, allocations: 8.031 kB / 1.337 GB, free: 4.906 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007335/0.883, allocations: 195.1 kB / 1.338 GB, free: 4.715 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001226/0.8843, allocations: 0.85 MB / 1.338 GB, free: 3.809 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.893e-05/0.8843, allocations: 49 kB / 1.339 GB, free: 3.762 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.973e-05/0.8844, allocations: 56 kB / 1.339 GB, free: 3.707 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001114/0.8855, allocations: 0.7926 MB / 1.339 GB, free: 2.84 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.8855, allocations: 4 kB / 1.339 GB, free: 2.836 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.903e-05/0.8856, allocations: 20 kB / 1.339 GB, free: 2.816 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.506e-05/0.8856, allocations: 16 kB / 1.339 GB, free: 2.801 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009146/0.8865, allocations: 0.5344 MB / 1.34 GB, free: 2.266 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.003761/0.8903, allocations: 4.611 MB / 1.344 GB, free: 13.27 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007084/0.891, allocations: 415.5 kB / 1.345 GB, free: 12.86 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004177/0.8915, allocations: 244.7 kB / 1.345 GB, free: 12.62 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003333/0.8918, allocations: 202.2 kB / 1.345 GB, free: 12.38 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005401/0.8924, allocations: 290.1 kB / 1.346 GB, free: 12.08 MB / 1.076 GB Notification: Performance of pre-optimization done (n=31): time 1.974e-06/0.8924, allocations: 0 / 1.346 GB, free: 12.08 MB / 1.076 GB Notification: Performance of matching and sorting (n=31): time 0.001435/0.8938, allocations: 0.6377 MB / 1.346 GB, free: 11.44 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.797e-05/0.8939, allocations: 81.11 kB / 1.346 GB, free: 11.34 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00145/0.8953, allocations: 1.118 MB / 1.347 GB, free: 10.2 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.75e-05/0.8954, allocations: 33.7 kB / 1.347 GB, free: 10.16 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004699/0.8959, allocations: 496.9 kB / 1.348 GB, free: 9.672 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001092/0.896, allocations: 119 kB / 1.348 GB, free: 9.555 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001804/0.8962, allocations: 106.1 kB / 1.348 GB, free: 9.445 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.8963, allocations: 329.9 kB / 1.348 GB, free: 9.117 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004133/0.8968, allocations: 218.3 kB / 1.349 GB, free: 8.898 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006819/0.8975, allocations: 0.5213 MB / 1.349 GB, free: 8.246 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008939/0.8984, allocations: 0.6353 MB / 1.35 GB, free: 7.531 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/0.8984, allocations: 4 kB / 1.35 GB, free: 7.527 MB / 1.076 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00115/0.8995, allocations: 0.7247 MB / 1.35 GB, free: 6.789 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.629e-05/0.8996, allocations: 34.36 kB / 1.35 GB, free: 6.75 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.8996, allocations: 7.984 kB / 1.35 GB, free: 6.742 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.8996, allocations: 12 kB / 1.35 GB, free: 6.73 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004384/0.9001, allocations: 115.7 kB / 1.351 GB, free: 6.617 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.86e-05/0.9001, allocations: 11.94 kB / 1.351 GB, free: 6.605 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005756/0.9007, allocations: 71.84 kB / 1.351 GB, free: 6.535 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.166e-05/0.9007, allocations: 24 kB / 1.351 GB, free: 6.512 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000657/0.9014, allocations: 0.5044 MB / 1.351 GB, free: 6.004 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005333/0.9019, allocations: 489.9 kB / 1.352 GB, free: 5.391 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007486/0.9027, allocations: 0.5566 MB / 1.352 GB, free: 4.754 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.188e-06/0.9027, allocations: 4 kB / 1.352 GB, free: 4.75 MB / 1.076 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001005/0.9037, allocations: 0.6464 MB / 1.353 GB, free: 4.09 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.719e-05/0.9038, allocations: 37.69 kB / 1.353 GB, free: 4.047 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.9038, allocations: 4 kB / 1.353 GB, free: 4.043 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.286e-06/0.9038, allocations: 8.656 kB / 1.353 GB, free: 4.035 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003688/0.9042, allocations: 107.8 kB / 1.353 GB, free: 3.93 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/0.9042, allocations: 11.94 kB / 1.353 GB, free: 3.918 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005896/0.9048, allocations: 68.06 kB / 1.353 GB, free: 3.852 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.084e-05/0.9048, allocations: 31.98 kB / 1.353 GB, free: 3.82 MB / 1.076 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): 52 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001582/0.905, allocations: 216.1 kB / 1.353 GB, free: 3.602 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001163/0.9051, allocations: 107.3 kB / 1.353 GB, free: 3.496 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009004/0.906, allocations: 487 kB / 1.354 GB, free: 3.012 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.906, allocations: 3.984 kB / 1.354 GB, free: 3.008 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.906, allocations: 4 kB / 1.354 GB, free: 3.004 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002713/0.9063, allocations: 216.3 kB / 1.354 GB, free: 2.773 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001103/0.9064, allocations: 8 kB / 1.354 GB, free: 2.766 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003517/0.9068, allocations: 23.91 kB / 1.354 GB, free: 2.742 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.672e-05/0.9069, allocations: 27.97 kB / 1.354 GB, free: 2.715 MB / 1.076 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009154/0.9078, allocations: 0.5704 MB / 1.355 GB, free: 2.137 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008261/0.9087, allocations: 0.7098 MB / 1.355 GB, free: 1.41 MB / 1.076 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003168/0.909, allocations: 179.9 kB / 1.356 GB, free: 1.234 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0009387/0.9099, allocations: 0.7875 MB / 1.356 GB, free: 448 kB / 1.076 GB Notification: Performance of Backend: time 3.6e-07/0.9099, allocations: 0 / 1.356 GB, free: 448 kB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002108/0.912, allocations: 0.909 MB / 1.357 GB, free: 15.52 MB / 1.092 GB Notification: Performance of SimCode: time 0.003723/0.9158, allocations: 2.476 MB / 1.36 GB, free: 12.99 MB / 1.092 GB Notification: Performance of Templates: time 0.02969/0.9455, allocations: 18.9 MB / 1.378 GB, free: 10.29 MB / 1.107 GB make -j1 -f Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches