Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.SeriesParallelDp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_10_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_10_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.001642/0.001642, allocations: 116.2 kB / 16.42 MB, free: 6.492 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.001818/0.001818, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.339/1.339, allocations: 222.9 MB / 241.1 MB, free: 15.15 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.455/2.455, allocations: 437 MB / 0.7112 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002899/0.002899, allocations: 68.12 kB / 1.019 GB, free: 9.457 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8694/0.8723, allocations: 151.6 MB / 1.167 GB, free: 3.918 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp): time 0.1597/1.032, allocations: 167.8 MB / 1.331 GB, free: 11.51 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.005224/1.037, allocations: 4.073 MB / 1.335 GB, free: 7.422 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004049/1.038, allocations: 15.88 kB / 1.335 GB, free: 7.406 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0007004/1.039, allocations: 242.5 kB / 1.335 GB, free: 7.168 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001625/1.04, allocations: 0.7157 MB / 1.336 GB, free: 6.449 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001208/1.041, allocations: 481.1 kB / 1.337 GB, free: 5.984 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002683/1.044, allocations: 2.778 MB / 1.339 GB, free: 3.195 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002664/1.047, allocations: 2.567 MB / 1.342 GB, free: 0.6172 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001909/1.049, allocations: 1.285 MB / 1.343 GB, free: 15.33 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009183/1.05, allocations: 0.8597 MB / 1.344 GB, free: 14.46 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001401/1.05, allocations: 80 kB / 1.344 GB, free: 14.39 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001392/1.051, allocations: 0.8186 MB / 1.345 GB, free: 13.57 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003262/1.052, allocations: 366.7 kB / 1.345 GB, free: 13.21 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0006193/1.052, allocations: 0.6218 MB / 1.346 GB, free: 12.58 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001553/1.054, allocations: 1.618 MB / 1.347 GB, free: 10.96 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/1.054, allocations: 0 / 1.347 GB, free: 10.96 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.643e-06/1.054, allocations: 0 / 1.347 GB, free: 10.96 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.243e-05/1.054, allocations: 0 / 1.347 GB, free: 10.96 MB / 1.076 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.002454/1.056, allocations: 1.615 MB / 1.349 GB, free: 9.281 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/1.056, allocations: 8.031 kB / 1.349 GB, free: 9.273 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007877/1.057, allocations: 202.3 kB / 1.349 GB, free: 9.074 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001412/1.058, allocations: 0.9319 MB / 1.35 GB, free: 8.086 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.977e-05/1.059, allocations: 53.3 kB / 1.35 GB, free: 8.035 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/1.059, allocations: 60 kB / 1.35 GB, free: 7.977 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001355/1.06, allocations: 0.987 MB / 1.351 GB, free: 6.918 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/1.06, allocations: 4 kB / 1.351 GB, free: 6.914 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.952e-05/1.06, allocations: 24 kB / 1.351 GB, free: 6.891 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.404e-05/1.06, allocations: 19.98 kB / 1.351 GB, free: 6.871 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001255/1.061, allocations: 0.796 MB / 1.352 GB, free: 6.074 MB / 1.076 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.004176/1.066, allocations: 4.765 MB / 1.356 GB, free: 0.9609 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002207/1.068, allocations: 4.016 MB / 1.36 GB, free: 12.11 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000486/1.068, allocations: 353.2 kB / 1.361 GB, free: 11.77 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002663/1.069, allocations: 190.5 kB / 1.361 GB, free: 11.54 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005186/1.069, allocations: 338.7 kB / 1.361 GB, free: 11.2 MB / 1.092 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001709/1.069, allocations: 31.59 kB / 1.361 GB, free: 11.16 MB / 1.092 GB Notification: Performance of pre-optimization done (n=35): time 1.734e-06/1.069, allocations: 0 / 1.361 GB, free: 11.16 MB / 1.092 GB Notification: Performance of matching and sorting (n=35): time 0.005185/1.074, allocations: 1.661 MB / 1.363 GB, free: 9.473 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/1.074, allocations: 85.11 kB / 1.363 GB, free: 9.371 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001286/1.076, allocations: 1.189 MB / 1.364 GB, free: 8.168 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 4.626e-05/1.076, allocations: 33.7 kB / 1.364 GB, free: 8.129 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003804/1.076, allocations: 0.5122 MB / 1.365 GB, free: 7.609 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 9.13e-05/1.076, allocations: 122.3 kB / 1.365 GB, free: 7.488 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001597/1.076, allocations: 114.2 kB / 1.365 GB, free: 7.371 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 9.708e-05/1.077, allocations: 330 kB / 1.365 GB, free: 7.043 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004035/1.077, allocations: 242.8 kB / 1.365 GB, free: 6.801 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006108/1.078, allocations: 0.5527 MB / 1.366 GB, free: 6.113 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009041/1.079, allocations: 0.6867 MB / 1.367 GB, free: 5.348 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/1.079, allocations: 0 / 1.367 GB, free: 5.348 MB / 1.092 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002391/1.081, allocations: 1.134 MB / 1.368 GB, free: 4.195 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.301e-05/1.081, allocations: 37.64 kB / 1.368 GB, free: 4.152 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/1.081, allocations: 12.61 kB / 1.368 GB, free: 4.141 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001589/1.083, allocations: 475.6 kB / 1.368 GB, free: 3.676 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003128/1.083, allocations: 67.89 kB / 1.368 GB, free: 3.609 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001369/1.084, allocations: 1.126 MB / 1.369 GB, free: 2.461 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007561/1.085, allocations: 55.92 kB / 1.369 GB, free: 2.406 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.887e-05/1.085, allocations: 31.98 kB / 1.37 GB, free: 2.375 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006725/1.086, allocations: 0.5164 MB / 1.37 GB, free: 1.855 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000559/1.086, allocations: 0.5292 MB / 1.371 GB, free: 1.188 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007679/1.087, allocations: 0.6073 MB / 1.371 GB, free: 0.5 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.585e-06/1.087, allocations: 0 / 1.371 GB, free: 0.5 MB / 1.092 GB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.001599/1.089, allocations: 0.9201 MB / 1.372 GB, free: 15.56 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.691e-05/1.089, allocations: 37.69 kB / 1.372 GB, free: 15.52 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/1.089, allocations: 7.938 kB / 1.372 GB, free: 15.51 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000546/1.089, allocations: 244.7 kB / 1.372 GB, free: 15.27 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003076/1.09, allocations: 67.89 kB / 1.372 GB, free: 15.2 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00384/1.094, allocations: 3.36 MB / 1.376 GB, free: 11.71 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008627/1.094, allocations: 79.97 kB / 1.376 GB, free: 11.63 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.549e-05/1.094, allocations: 20 kB / 1.376 GB, free: 11.61 MB / 1.107 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.0001778/1.095, allocations: 221.2 kB / 1.376 GB, free: 11.39 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001278/1.095, allocations: 106.7 kB / 1.376 GB, free: 11.29 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001431/1.096, allocations: 0.8201 MB / 1.377 GB, free: 10.45 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/1.096, allocations: 4 kB / 1.377 GB, free: 10.44 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/1.096, allocations: 3.984 kB / 1.377 GB, free: 10.44 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000348/1.097, allocations: 219.9 kB / 1.377 GB, free: 10.2 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001188/1.097, allocations: 15.92 kB / 1.377 GB, free: 10.19 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005707/1.097, allocations: 43.94 kB / 1.377 GB, free: 10.14 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/1.097, allocations: 44.02 kB / 1.377 GB, free: 10.1 MB / 1.107 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001571/1.099, allocations: 0.8593 MB / 1.378 GB, free: 9.23 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001229/1.1, allocations: 0.9984 MB / 1.379 GB, free: 8.219 MB / 1.107 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003471/1.101, allocations: 207.8 kB / 1.379 GB, free: 8.016 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0009722/1.102, allocations: 0.8445 MB / 1.38 GB, free: 7.164 MB / 1.107 GB Notification: Performance of Backend: time 3.01e-07/1.102, allocations: 0 / 1.38 GB, free: 7.164 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.00316/1.105, allocations: 1.372 MB / 1.381 GB, free: 5.762 MB / 1.107 GB Notification: Performance of SimCode: time 0.003942/1.109, allocations: 2.913 MB / 1.384 GB, free: 2.805 MB / 1.107 GB Notification: Performance of Templates: time 0.03312/1.142, allocations: 22.01 MB / 1.406 GB, free: 12.99 MB / 1.139 GB make -j1 -f Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.makefile (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.sim & ./Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches