Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.SeriesParallelDp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001564/0.001564, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.00177/0.00177, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.355/1.355, 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 11.0.1-master/package.mo): time 2.591/2.591, allocations: 469.4 MB / 0.7428 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 71.88 kB / 1.065 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8107/0.8121, allocations: 159.1 MB / 1.221 GB, free: 2.359 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp): time 0.2086/1.021, allocations: 167.8 MB / 1.385 GB, free: 9.961 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.006905/1.028, allocations: 4.072 MB / 1.389 GB, free: 5.879 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000632/1.028, allocations: 15.88 kB / 1.389 GB, free: 5.863 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0009536/1.029, allocations: 242.5 kB / 1.389 GB, free: 5.625 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002283/1.032, allocations: 0.7117 MB / 1.39 GB, free: 4.91 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.00162/1.033, allocations: 489.6 kB / 1.39 GB, free: 4.438 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.00392/1.037, allocations: 2.781 MB / 1.393 GB, free: 1.645 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003887/1.041, allocations: 2.559 MB / 1.395 GB, free: 15.07 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003051/1.044, allocations: 1.285 MB / 1.397 GB, free: 13.78 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001646/1.046, allocations: 0.8597 MB / 1.397 GB, free: 12.92 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0003364/1.046, allocations: 72 kB / 1.397 GB, free: 12.85 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002217/1.048, allocations: 0.8225 MB / 1.398 GB, free: 12.02 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0006216/1.049, allocations: 366.8 kB / 1.399 GB, free: 11.66 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001263/1.05, allocations: 0.6257 MB / 1.399 GB, free: 11.04 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002778/1.053, allocations: 1.622 MB / 1.401 GB, free: 9.41 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/1.053, allocations: 0 / 1.401 GB, free: 9.41 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.164e-06/1.053, allocations: 3.938 kB / 1.401 GB, free: 9.406 MB / 1.123 GB Notification: Performance of Transformations before backend: time 4.574e-05/1.053, allocations: 0 / 1.401 GB, free: 9.406 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.003753/1.057, allocations: 1.607 MB / 1.402 GB, free: 7.734 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/1.057, allocations: 8.031 kB / 1.402 GB, free: 7.727 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001142/1.058, allocations: 202.3 kB / 1.403 GB, free: 7.527 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00214/1.06, allocations: 0.9358 MB / 1.404 GB, free: 6.535 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.804e-05/1.06, allocations: 49.31 kB / 1.404 GB, free: 6.488 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001413/1.061, allocations: 64 kB / 1.404 GB, free: 6.426 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001841/1.062, allocations: 0.987 MB / 1.405 GB, free: 5.367 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.498e-05/1.062, allocations: 3.938 kB / 1.405 GB, free: 5.363 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.147e-05/1.063, allocations: 24 kB / 1.405 GB, free: 5.34 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.927e-05/1.063, allocations: 16 kB / 1.405 GB, free: 5.324 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001642/1.064, allocations: 0.8038 MB / 1.405 GB, free: 4.52 MB / 1.123 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.006008/1.07, allocations: 4.766 MB / 1.41 GB, free: 15.41 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003152/1.073, allocations: 4.014 MB / 1.414 GB, free: 10.57 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006319/1.074, allocations: 345.8 kB / 1.414 GB, free: 10.23 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003272/1.074, allocations: 198.4 kB / 1.415 GB, free: 9.996 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006829/1.075, allocations: 337.4 kB / 1.415 GB, free: 9.648 MB / 1.139 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003088/1.075, allocations: 31.69 kB / 1.415 GB, free: 9.617 MB / 1.139 GB Notification: Performance of pre-optimization done (n=35): time 2.715e-06/1.075, allocations: 0 / 1.415 GB, free: 9.617 MB / 1.139 GB Notification: Performance of matching and sorting (n=35): time 0.006359/1.082, allocations: 1.664 MB / 1.416 GB, free: 7.922 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/1.082, allocations: 81.11 kB / 1.417 GB, free: 7.824 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001734/1.084, allocations: 1.192 MB / 1.418 GB, free: 6.617 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 5.952e-05/1.084, allocations: 37.7 kB / 1.418 GB, free: 6.574 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005211/1.084, allocations: 0.5044 MB / 1.418 GB, free: 6.062 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/1.084, allocations: 122.3 kB / 1.418 GB, free: 5.941 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002228/1.085, allocations: 122.1 kB / 1.418 GB, free: 5.816 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001352/1.085, allocations: 322 kB / 1.419 GB, free: 5.496 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005229/1.085, allocations: 238.9 kB / 1.419 GB, free: 5.258 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008284/1.086, allocations: 0.5643 MB / 1.42 GB, free: 4.559 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001153/1.087, allocations: 0.6861 MB / 1.42 GB, free: 3.793 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.596e-06/1.087, allocations: 4 kB / 1.42 GB, free: 3.789 MB / 1.139 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.003024/1.09, allocations: 1.126 MB / 1.421 GB, free: 2.645 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 4.957e-05/1.09, allocations: 41.62 kB / 1.421 GB, free: 2.598 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/1.09, allocations: 4 kB / 1.421 GB, free: 2.594 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001928/1.092, allocations: 467.6 kB / 1.422 GB, free: 2.137 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003863/1.093, allocations: 71.83 kB / 1.422 GB, free: 2.066 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001787/1.094, allocations: 1.124 MB / 1.423 GB, free: 0.918 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009862/1.095, allocations: 63.92 kB / 1.423 GB, free: 0.8555 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.995e-05/1.096, allocations: 24 kB / 1.423 GB, free: 0.832 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009348/1.097, allocations: 0.5282 MB / 1.424 GB, free: 304 kB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000718/1.097, allocations: 0.5215 MB / 1.424 GB, free: 15.64 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009576/1.098, allocations: 0.6073 MB / 1.425 GB, free: 14.95 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.817e-06/1.098, allocations: 0 / 1.425 GB, free: 14.95 MB / 1.154 GB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.002059/1.1, allocations: 0.9161 MB / 1.426 GB, free: 14.02 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.745e-05/1.1, allocations: 37.83 kB / 1.426 GB, free: 13.98 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/1.1, allocations: 11.94 kB / 1.426 GB, free: 13.96 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007236/1.101, allocations: 240.5 kB / 1.426 GB, free: 13.73 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000369/1.101, allocations: 67.89 kB / 1.426 GB, free: 13.66 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004913/1.106, allocations: 3.367 MB / 1.429 GB, free: 10.16 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001082/1.107, allocations: 67.92 kB / 1.429 GB, free: 10.09 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-05/1.108, allocations: 28.06 kB / 1.429 GB, free: 10.07 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 {(11,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0002736/1.108, allocations: 224.1 kB / 1.43 GB, free: 9.84 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002585/1.108, allocations: 106.7 kB / 1.43 GB, free: 9.734 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001859/1.11, allocations: 0.8123 MB / 1.43 GB, free: 8.906 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/1.11, allocations: 3.938 kB / 1.43 GB, free: 8.902 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/1.11, allocations: 0 / 1.43 GB, free: 8.902 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004973/1.111, allocations: 231.7 kB / 1.431 GB, free: 8.656 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001615/1.111, allocations: 4 kB / 1.431 GB, free: 8.652 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007051/1.111, allocations: 39.94 kB / 1.431 GB, free: 8.613 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001792/1.112, allocations: 51.92 kB / 1.431 GB, free: 8.562 MB / 1.154 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001981/1.114, allocations: 0.8615 MB / 1.432 GB, free: 7.691 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001555/1.115, allocations: 1.004 MB / 1.433 GB, free: 6.668 MB / 1.154 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004076/1.116, allocations: 203.8 kB / 1.433 GB, free: 6.469 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.00131/1.117, allocations: 0.8329 MB / 1.434 GB, free: 5.629 MB / 1.154 GB Notification: Performance of Backend: time 5.61e-07/1.117, allocations: 0 / 1.434 GB, free: 5.629 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.00411/1.121, allocations: 1.374 MB / 1.435 GB, free: 4.227 MB / 1.154 GB Notification: Performance of SimCode: time 0.0053/1.126, allocations: 2.923 MB / 1.438 GB, free: 1.262 MB / 1.154 GB Notification: Performance of Templates: time 0.04286/1.169, allocations: 22.02 MB / 1.459 GB, free: 11.46 MB / 1.186 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches