Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001293/0.001293, allocations: 117.9 kB / 16.81 MB, free: 5.758 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.001208/0.001208, allocations: 192.7 kB / 17.77 MB, free: 5.133 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.369/1.369, allocations: 225.6 MB / 244.2 MB, free: 13.9 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.685/2.685, allocations: 476.7 MB / 0.7556 GB, free: 11.37 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 60.95 kB / 1.097 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2932/0.2951, allocations: 168.7 MB / 1.262 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.1856/0.4807, allocations: 162.1 MB / 1.42 GB, free: 10.21 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.005074/0.4857, allocations: 3.643 MB / 1.424 GB, free: 6.555 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002197/0.486, allocations: 7.938 kB / 1.424 GB, free: 6.547 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0005471/0.4865, allocations: 174.9 kB / 1.424 GB, free: 6.375 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.001277/0.4878, allocations: 0.5493 MB / 1.425 GB, free: 5.824 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001126/0.4889, allocations: 448.4 kB / 1.425 GB, free: 5.391 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002895/0.4918, allocations: 2.54 MB / 1.428 GB, free: 2.84 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001073/0.4929, allocations: 0.8006 MB / 1.428 GB, free: 2.027 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001531/0.4944, allocations: 1.051 MB / 1.429 GB, free: 0.9727 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008988/0.4953, allocations: 0.7506 MB / 1.43 GB, free: 224 kB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001155/0.4954, allocations: 56 kB / 1.43 GB, free: 168 kB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001395/0.4968, allocations: 0.7679 MB / 1.431 GB, free: 15.39 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003514/0.4972, allocations: 306.8 kB / 1.431 GB, free: 15.09 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0006408/0.4978, allocations: 0.5517 MB / 1.432 GB, free: 14.54 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001682/0.4995, allocations: 1.405 MB / 1.433 GB, free: 13.13 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.4995, allocations: 0 / 1.433 GB, free: 13.13 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.333e-06/0.4995, allocations: 0 / 1.433 GB, free: 13.13 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.081e-05/0.4995, allocations: 3.938 kB / 1.433 GB, free: 13.12 MB / 1.154 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.002362/0.5019, allocations: 1.5 MB / 1.435 GB, free: 11.56 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.5019, allocations: 8.625 kB / 1.435 GB, free: 11.55 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007859/0.5027, allocations: 199.1 kB / 1.435 GB, free: 11.36 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001364/0.5041, allocations: 0.854 MB / 1.436 GB, free: 10.45 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.822e-05/0.5041, allocations: 49 kB / 1.436 GB, free: 10.4 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.739e-05/0.5042, allocations: 56 kB / 1.436 GB, free: 10.35 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001235/0.5054, allocations: 0.7888 MB / 1.436 GB, free: 9.484 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.038e-05/0.5055, allocations: 7.938 kB / 1.436 GB, free: 9.477 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.573e-05/0.5055, allocations: 20 kB / 1.437 GB, free: 9.457 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.565e-05/0.5055, allocations: 16 kB / 1.437 GB, free: 9.441 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009838/0.5065, allocations: 0.5305 MB / 1.437 GB, free: 8.91 MB / 1.154 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.004387/0.5109, allocations: 4.603 MB / 1.442 GB, free: 3.922 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007507/0.5116, allocations: 398.7 kB / 1.442 GB, free: 3.523 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004061/0.5121, allocations: 232.6 kB / 1.442 GB, free: 3.293 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003033/0.5124, allocations: 194.2 kB / 1.442 GB, free: 3.066 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005157/0.5129, allocations: 298.2 kB / 1.443 GB, free: 2.758 MB / 1.154 GB Notification: Performance of pre-optimization done (n=31): time 1.794e-06/0.5129, allocations: 4 kB / 1.443 GB, free: 2.754 MB / 1.154 GB Notification: Performance of matching and sorting (n=31): time 0.003981/0.5169, allocations: 1.303 MB / 1.444 GB, free: 1.422 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.439e-05/0.5169, allocations: 85.11 kB / 1.444 GB, free: 1.32 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001413/0.5183, allocations: 1.122 MB / 1.445 GB, free: 184 kB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 4.762e-05/0.5184, allocations: 33.7 kB / 1.445 GB, free: 144 kB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004692/0.5188, allocations: 489 kB / 1.446 GB, free: 15.65 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001091/0.5189, allocations: 123 kB / 1.446 GB, free: 15.54 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001699/0.5191, allocations: 110 kB / 1.446 GB, free: 15.42 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.5193, allocations: 326 kB / 1.446 GB, free: 15.1 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004186/0.5197, allocations: 214.4 kB / 1.446 GB, free: 14.89 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007557/0.5204, allocations: 0.5174 MB / 1.447 GB, free: 14.23 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009593/0.5214, allocations: 0.6266 MB / 1.447 GB, free: 13.53 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.5214, allocations: 4 kB / 1.447 GB, free: 13.52 MB / 1.17 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002345/0.5238, allocations: 1.041 MB / 1.448 GB, free: 12.46 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 5.045e-05/0.5238, allocations: 37.69 kB / 1.448 GB, free: 12.42 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.5238, allocations: 4 kB / 1.448 GB, free: 12.42 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001401/0.5252, allocations: 360.9 kB / 1.449 GB, free: 12.06 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00023/0.5254, allocations: 63.91 kB / 1.449 GB, free: 12 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00107/0.5265, allocations: 1.011 MB / 1.45 GB, free: 10.96 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006088/0.5271, allocations: 75.56 kB / 1.45 GB, free: 10.89 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.209e-05/0.5272, allocations: 24.22 kB / 1.45 GB, free: 10.87 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007346/0.5279, allocations: 0.4967 MB / 1.45 GB, free: 10.37 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006207/0.5285, allocations: 0.4939 MB / 1.451 GB, free: 9.738 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008016/0.5293, allocations: 0.5608 MB / 1.451 GB, free: 9.098 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.418e-06/0.5293, allocations: 3.984 kB / 1.451 GB, free: 9.094 MB / 1.17 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001551/0.5309, allocations: 0.8265 MB / 1.452 GB, free: 8.25 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.298e-05/0.5309, allocations: 33.7 kB / 1.452 GB, free: 8.211 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.5309, allocations: 4 kB / 1.452 GB, free: 8.207 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005203/0.5314, allocations: 209.3 kB / 1.453 GB, free: 8 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000215/0.5317, allocations: 63.84 kB / 1.453 GB, free: 7.938 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004193/0.5359, allocations: 3.346 MB / 1.456 GB, free: 4.43 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006173/0.5365, allocations: 72.12 kB / 1.456 GB, free: 4.359 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.362e-05/0.5365, allocations: 24 kB / 1.456 GB, free: 4.336 MB / 1.17 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.000217/0.5367, allocations: 214.6 kB / 1.456 GB, free: 4.121 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001475/0.5369, allocations: 103.5 kB / 1.456 GB, free: 4.02 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001325/0.5382, allocations: 0.7023 MB / 1.457 GB, free: 3.305 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.5382, allocations: 0 / 1.457 GB, free: 3.305 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.5382, allocations: 4 kB / 1.457 GB, free: 3.301 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000299/0.5385, allocations: 220.4 kB / 1.457 GB, free: 3.066 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/0.5386, allocations: 12 kB / 1.457 GB, free: 3.055 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003749/0.539, allocations: 19.97 kB / 1.457 GB, free: 3.035 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.5391, allocations: 39.94 kB / 1.457 GB, free: 2.996 MB / 1.17 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001516/0.5406, allocations: 0.7892 MB / 1.458 GB, free: 2.195 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001305/0.5419, allocations: 0.9352 MB / 1.459 GB, free: 1.242 MB / 1.17 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003473/0.5423, allocations: 175.8 kB / 1.459 GB, free: 1.07 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001041/0.5433, allocations: 0.7916 MB / 1.46 GB, free: 276 kB / 1.17 GB Notification: Performance of Backend: time 4.51e-07/0.5433, allocations: 0 / 1.46 GB, free: 276 kB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002682/0.546, allocations: 1.15 MB / 1.461 GB, free: 15.09 MB / 1.186 GB Notification: Performance of SimCode: time 0.004093/0.5501, allocations: 2.687 MB / 1.464 GB, free: 12.35 MB / 1.186 GB Notification: Performance of Templates: time 0.03557/0.5857, allocations: 20.96 MB / 1.484 GB, free: 7.586 MB / 1.201 GB make -j1 -f Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile (rm -f Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & ./Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches