Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001358/0.001359, allocations: 113.6 kB / 16.42 MB, free: 6.48 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.001472/0.001472, allocations: 186.6 kB / 17.35 MB, free: 5.746 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.329/1.329, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.594/2.594, allocations: 472.7 MB / 0.746 GB, free: 420 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 63.91 kB / 1.07 GB, free: 9.531 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6668/0.6681, allocations: 159.9 MB / 1.226 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised): time 0.1653/0.8335, allocations: 167.8 MB / 1.39 GB, free: 5.098 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.00514/0.8386, allocations: 4.069 MB / 1.394 GB, free: 1.02 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002529/0.8389, allocations: 19.88 kB / 1.394 GB, free: 1 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0006465/0.8396, allocations: 250.5 kB / 1.394 GB, free: 0.7539 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.001466/0.8411, allocations: 0.7109 MB / 1.395 GB, free: 44 kB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001176/0.8423, allocations: 490.2 kB / 1.396 GB, free: 15.57 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002721/0.845, allocations: 2.78 MB / 1.398 GB, free: 12.78 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002825/0.8478, allocations: 2.575 MB / 1.401 GB, free: 10.2 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001901/0.8498, allocations: 1.289 MB / 1.402 GB, free: 8.902 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009911/0.8508, allocations: 0.8597 MB / 1.403 GB, free: 8.039 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001546/0.8509, allocations: 72 kB / 1.403 GB, free: 7.969 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001499/0.8524, allocations: 0.8147 MB / 1.404 GB, free: 7.152 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0003672/0.8528, allocations: 370.7 kB / 1.404 GB, free: 6.789 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0006688/0.8535, allocations: 0.6179 MB / 1.405 GB, free: 6.168 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001727/0.8552, allocations: 1.627 MB / 1.406 GB, free: 4.535 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.8552, allocations: 7.922 kB / 1.406 GB, free: 4.527 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.202e-06/0.8552, allocations: 0 / 1.406 GB, free: 4.527 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.427e-05/0.8553, allocations: 4 kB / 1.406 GB, free: 4.523 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.002575/0.8578, allocations: 1.649 MB / 1.408 GB, free: 2.809 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.8579, allocations: 12.03 kB / 1.408 GB, free: 2.797 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008098/0.8587, allocations: 203.1 kB / 1.408 GB, free: 2.598 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001384/0.8601, allocations: 0.9486 MB / 1.409 GB, free: 1.594 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.766e-05/0.8602, allocations: 45.3 kB / 1.409 GB, free: 1.551 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/0.8603, allocations: 68 kB / 1.409 GB, free: 1.484 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001401/0.8617, allocations: 0.987 MB / 1.41 GB, free: 436 kB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.8617, allocations: 0 / 1.41 GB, free: 436 kB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.63e-05/0.8618, allocations: 28 kB / 1.41 GB, free: 408 kB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.364e-05/0.8618, allocations: 15.94 kB / 1.41 GB, free: 392 kB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001304/0.8631, allocations: 0.7999 MB / 1.411 GB, free: 15.58 MB / 1.139 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.004367/0.8675, allocations: 4.774 MB / 1.416 GB, free: 10.46 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002244/0.8697, allocations: 4.002 MB / 1.42 GB, free: 5.629 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005029/0.8703, allocations: 357.8 kB / 1.42 GB, free: 5.277 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002921/0.8706, allocations: 198.4 kB / 1.42 GB, free: 5.047 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005672/0.8711, allocations: 322 kB / 1.42 GB, free: 4.715 MB / 1.139 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002222/0.8714, allocations: 35.73 kB / 1.42 GB, free: 4.68 MB / 1.139 GB Notification: Performance of pre-optimization done (n=35): time 3.757e-06/0.8714, allocations: 0 / 1.42 GB, free: 4.68 MB / 1.139 GB Notification: Performance of matching and sorting (n=35): time 0.005394/0.8768, allocations: 1.747 MB / 1.422 GB, free: 2.902 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.278e-05/0.8769, allocations: 85.11 kB / 1.422 GB, free: 2.801 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001523/0.8784, allocations: 1.177 MB / 1.423 GB, free: 1.609 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 4.986e-05/0.8784, allocations: 37.7 kB / 1.423 GB, free: 1.566 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004426/0.8789, allocations: 0.5168 MB / 1.424 GB, free: 1.043 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001127/0.879, allocations: 130.9 kB / 1.424 GB, free: 0.9141 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001947/0.8792, allocations: 126.1 kB / 1.424 GB, free: 0.7852 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.8794, allocations: 326 kB / 1.424 GB, free: 472 kB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004279/0.8798, allocations: 234.9 kB / 1.425 GB, free: 232 kB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006689/0.8805, allocations: 0.5565 MB / 1.425 GB, free: 15.54 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000943/0.8814, allocations: 0.6861 MB / 1.426 GB, free: 14.77 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.193e-06/0.8814, allocations: 4 kB / 1.426 GB, free: 14.77 MB / 1.154 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002405/0.8839, allocations: 1.143 MB / 1.427 GB, free: 13.61 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 4.619e-05/0.8839, allocations: 41.58 kB / 1.427 GB, free: 13.56 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.8839, allocations: 4 kB / 1.427 GB, free: 13.55 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001401/0.8853, allocations: 392.7 kB / 1.427 GB, free: 13.17 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003039/0.8857, allocations: 67.89 kB / 1.427 GB, free: 13.1 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001111/0.8868, allocations: 1.057 MB / 1.429 GB, free: 12.02 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007815/0.8876, allocations: 59.92 kB / 1.429 GB, free: 11.96 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.519e-05/0.8876, allocations: 31.88 kB / 1.429 GB, free: 11.93 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007566/0.8884, allocations: 0.5255 MB / 1.429 GB, free: 11.4 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005842/0.889, allocations: 0.5254 MB / 1.43 GB, free: 10.73 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008054/0.8898, allocations: 0.5915 MB / 1.43 GB, free: 10.06 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.709e-06/0.8898, allocations: 4 kB / 1.43 GB, free: 10.06 MB / 1.154 GB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.001649/0.8915, allocations: 0.9249 MB / 1.431 GB, free: 9.117 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.158e-05/0.8915, allocations: 38.86 kB / 1.431 GB, free: 9.074 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.8915, allocations: 11.98 kB / 1.431 GB, free: 9.062 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006116/0.8922, allocations: 258.7 kB / 1.431 GB, free: 8.809 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003045/0.8925, allocations: 71.88 kB / 1.431 GB, free: 8.738 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003845/0.8963, allocations: 3.344 MB / 1.435 GB, free: 5.262 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007887/0.8971, allocations: 71.91 kB / 1.435 GB, free: 5.191 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.583e-05/0.8972, allocations: 27.94 kB / 1.435 GB, free: 5.164 MB / 1.154 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_m_flow.count,$PRE.pulse_m_flow.count,pulse_m_flow.T_start,$PRE.pulse_m_flow.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * 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,22)} Notification: Performance of prepare postOptimizeDAE: time 0.0001837/0.8974, allocations: 220.1 kB / 1.435 GB, free: 4.941 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001593/0.8976, allocations: 111.3 kB / 1.435 GB, free: 4.832 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001498/0.8991, allocations: 0.8087 MB / 1.436 GB, free: 4.008 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.8991, allocations: 0 / 1.436 GB, free: 4.008 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.8991, allocations: 0 / 1.436 GB, free: 4.008 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003421/0.8994, allocations: 240.3 kB / 1.436 GB, free: 3.754 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001262/0.8996, allocations: 7.984 kB / 1.436 GB, free: 3.746 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005398/0.9001, allocations: 43.83 kB / 1.436 GB, free: 3.703 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001284/0.9003, allocations: 55.84 kB / 1.436 GB, free: 3.648 MB / 1.154 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001556/0.9018, allocations: 0.8559 MB / 1.437 GB, free: 2.781 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001335/0.9032, allocations: 1.013 MB / 1.438 GB, free: 1.754 MB / 1.154 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003526/0.9035, allocations: 199.8 kB / 1.438 GB, free: 1.559 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001037/0.9046, allocations: 0.8367 MB / 1.439 GB, free: 0.7148 MB / 1.154 GB Notification: Performance of Backend: time 1.653e-06/0.9046, allocations: 0 / 1.439 GB, free: 0.7148 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.002651/0.9072, allocations: 1.236 MB / 1.44 GB, free: 15.45 MB / 1.17 GB Notification: Performance of SimCode: time 0.003992/0.9112, allocations: 2.84 MB / 1.443 GB, free: 12.56 MB / 1.17 GB Notification: Performance of Templates: time 0.03447/0.9457, allocations: 22.25 MB / 1.465 GB, free: 6.535 MB / 1.186 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches