Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 111 kB / 16.42 MB, free: 6.461 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.0009905/0.0009905, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.29/1.29, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.161/2.161, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 63.91 kB / 0.9516 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6885/0.6898, allocations: 140.4 MB / 1.089 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised): time 0.1758/0.8656, allocations: 167.8 MB / 1.252 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003627/0.8693, allocations: 2.197 MB / 1.255 GB, free: 3.773 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004849/0.8698, allocations: 15.88 kB / 1.255 GB, free: 3.758 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007636/0.8706, allocations: 258.5 kB / 1.255 GB, free: 3.504 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001735/0.8724, allocations: 0.6923 MB / 1.256 GB, free: 2.809 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001173/0.8736, allocations: 441.1 kB / 1.256 GB, free: 2.383 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002824/0.8764, allocations: 2.769 MB / 1.259 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002818/0.8792, allocations: 2.548 MB / 1.261 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002122/0.8814, allocations: 1.281 MB / 1.262 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001221/0.8826, allocations: 0.8675 MB / 1.263 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000227/0.8828, allocations: 72 kB / 1.263 GB, free: 10.81 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001573/0.8844, allocations: 0.8225 MB / 1.264 GB, free: 9.988 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004131/0.8848, allocations: 362.7 kB / 1.264 GB, free: 9.633 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008776/0.8857, allocations: 0.618 MB / 1.265 GB, free: 9.012 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00184/0.8876, allocations: 1.614 MB / 1.267 GB, free: 7.395 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.8876, allocations: 0 / 1.267 GB, free: 7.395 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.303e-06/0.8876, allocations: 0 / 1.267 GB, free: 7.395 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.484e-05/0.8876, allocations: 4 kB / 1.267 GB, free: 7.391 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.002802/0.8904, allocations: 1.615 MB / 1.268 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.8905, allocations: 8.031 kB / 1.268 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008604/0.8913, allocations: 198.4 kB / 1.268 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001547/0.8929, allocations: 0.9319 MB / 1.269 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.227e-05/0.893, allocations: 45.31 kB / 1.269 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/0.8931, allocations: 67.94 kB / 1.269 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001428/0.8945, allocations: 0.9987 MB / 1.27 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.8945, allocations: 3.938 kB / 1.27 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.663e-05/0.8946, allocations: 27.98 kB / 1.27 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.439e-05/0.8946, allocations: 12 kB / 1.27 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00128/0.8959, allocations: 0.8077 MB / 1.271 GB, free: 2.484 MB / 0.9981 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.004296/0.9002, allocations: 4.765 MB / 1.276 GB, free: 13.37 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002213/0.9024, allocations: 4.006 MB / 1.28 GB, free: 8.539 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004882/0.9029, allocations: 346.2 kB / 1.28 GB, free: 8.199 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002657/0.9032, allocations: 198.5 kB / 1.28 GB, free: 7.969 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004942/0.9037, allocations: 317.1 kB / 1.281 GB, free: 7.641 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001766/0.9039, allocations: 35.69 kB / 1.281 GB, free: 7.605 MB / 1.014 GB Notification: Performance of pre-optimization done (n=35): time 3.646e-06/0.9039, allocations: 0 / 1.281 GB, free: 7.605 MB / 1.014 GB Notification: Performance of matching and sorting (n=35): time 0.004545/0.9085, allocations: 1.579 MB / 1.282 GB, free: 5.996 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.9085, allocations: 89.09 kB / 1.282 GB, free: 5.891 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001318/0.9099, allocations: 1.18 MB / 1.283 GB, free: 4.695 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.685e-05/0.9099, allocations: 33.7 kB / 1.284 GB, free: 4.656 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003827/0.9103, allocations: 0.516 MB / 1.284 GB, free: 4.137 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 8.944e-05/0.9104, allocations: 118.4 kB / 1.284 GB, free: 4.02 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001626/0.9106, allocations: 122.1 kB / 1.284 GB, free: 3.895 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 9.391e-05/0.9107, allocations: 329.9 kB / 1.285 GB, free: 3.566 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004046/0.9111, allocations: 242.8 kB / 1.285 GB, free: 3.324 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006091/0.9117, allocations: 0.5566 MB / 1.285 GB, free: 2.629 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008996/0.9126, allocations: 0.6754 MB / 1.286 GB, free: 1.875 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.9126, allocations: 4 kB / 1.286 GB, free: 1.871 MB / 1.014 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002207/0.9148, allocations: 1.108 MB / 1.287 GB, free: 0.7461 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.83e-05/0.9149, allocations: 41.7 kB / 1.287 GB, free: 0.6992 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.9149, allocations: 4 kB / 1.287 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001207/0.9161, allocations: 344.5 kB / 1.287 GB, free: 364 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003867/0.9165, allocations: 99.8 kB / 1.288 GB, free: 264 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009565/0.9175, allocations: 1 MB / 1.289 GB, free: 15.23 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007784/0.9183, allocations: 67.92 kB / 1.289 GB, free: 15.17 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.319e-05/0.9183, allocations: 27.98 kB / 1.289 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000676/0.919, allocations: 0.5281 MB / 1.289 GB, free: 14.61 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005433/0.9196, allocations: 0.5176 MB / 1.29 GB, free: 13.95 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007657/0.9204, allocations: 0.6035 MB / 1.29 GB, free: 13.27 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.785e-06/0.9204, allocations: 4 kB / 1.29 GB, free: 13.27 MB / 1.029 GB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.001484/0.9219, allocations: 0.8884 MB / 1.291 GB, free: 12.36 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.091e-05/0.9219, allocations: 36.83 kB / 1.291 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.9219, allocations: 7.938 kB / 1.291 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004957/0.9224, allocations: 236.5 kB / 1.291 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003674/0.9228, allocations: 91.86 kB / 1.291 GB, free: 11.99 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003367/0.9262, allocations: 3.152 MB / 1.295 GB, free: 8.699 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007986/0.927, allocations: 75.98 kB / 1.295 GB, free: 8.625 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.909e-05/0.927, allocations: 20 kB / 1.295 GB, free: 8.605 MB / 1.029 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 (38): * Single equations (assignments): 36 * 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.0001656/0.9272, allocations: 224 kB / 1.295 GB, free: 8.379 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001282/0.9273, allocations: 110.7 kB / 1.295 GB, free: 8.27 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00133/0.9287, allocations: 0.766 MB / 1.296 GB, free: 7.492 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.9287, allocations: 0 / 1.296 GB, free: 7.492 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.9287, allocations: 0 / 1.296 GB, free: 7.492 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003573/0.9291, allocations: 231.7 kB / 1.296 GB, free: 7.246 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000125/0.9292, allocations: 11.94 kB / 1.296 GB, free: 7.234 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005474/0.9298, allocations: 35.94 kB / 1.296 GB, free: 7.199 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/0.9299, allocations: 47.92 kB / 1.296 GB, free: 7.152 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00151/0.9314, allocations: 0.8507 MB / 1.297 GB, free: 6.293 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001248/0.9327, allocations: 1.017 MB / 1.298 GB, free: 5.262 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003531/0.933, allocations: 203.8 kB / 1.298 GB, free: 5.062 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0009691/0.934, allocations: 0.8288 MB / 1.299 GB, free: 4.227 MB / 1.029 GB Notification: Performance of Backend: time 4.41e-07/0.934, allocations: 0 / 1.299 GB, free: 4.227 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002659/0.9367, allocations: 1.238 MB / 1.3 GB, free: 2.953 MB / 1.029 GB Notification: Performance of SimCode: time 0.003968/0.9407, allocations: 2.767 MB / 1.303 GB, free: 136 kB / 1.029 GB Notification: Performance of Templates: time 0.03266/0.9733, allocations: 22 MB / 1.324 GB, free: 10.37 MB / 1.061 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches