Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.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.SeriesParallelFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 118.2 kB / 16.42 MB, free: 6.012 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.001525/0.001525, allocations: 183 kB / 17.35 MB, free: 5.629 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.299/1.299, allocations: 222.9 MB / 241.1 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.588/2.588, allocations: 461.9 MB / 0.7355 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 68.03 kB / 1.055 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6685/0.6698, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow): time 0.1564/0.8262, allocations: 167.8 MB / 1.372 GB, free: 5.246 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.003324/0.8296, allocations: 2.197 MB / 1.374 GB, free: 3.043 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002476/0.8298, allocations: 19.88 kB / 1.374 GB, free: 3.023 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0006253/0.8305, allocations: 254.4 kB / 1.375 GB, free: 2.773 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001395/0.8319, allocations: 0.7078 MB / 1.375 GB, free: 2.062 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009844/0.8329, allocations: 437.7 kB / 1.376 GB, free: 1.641 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002543/0.8355, allocations: 2.766 MB / 1.378 GB, free: 14.87 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002664/0.8381, allocations: 2.556 MB / 1.381 GB, free: 12.29 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001805/0.84, allocations: 1.281 MB / 1.382 GB, free: 11.01 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009072/0.8409, allocations: 0.8637 MB / 1.383 GB, free: 10.14 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001175/0.841, allocations: 72 kB / 1.383 GB, free: 10.07 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001272/0.8423, allocations: 0.8225 MB / 1.384 GB, free: 9.246 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0003298/0.8426, allocations: 362.7 kB / 1.384 GB, free: 8.891 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0006099/0.8432, allocations: 0.6179 MB / 1.385 GB, free: 8.27 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001511/0.8448, allocations: 1.614 MB / 1.386 GB, free: 6.652 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.8448, allocations: 0 / 1.386 GB, free: 6.652 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.303e-06/0.8448, allocations: 0 / 1.386 GB, free: 6.652 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.3e-05/0.8448, allocations: 0 / 1.386 GB, free: 6.652 MB / 1.107 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.002427/0.8472, allocations: 1.615 MB / 1.388 GB, free: 4.977 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.8473, allocations: 12.02 kB / 1.388 GB, free: 4.965 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008135/0.8481, allocations: 194.4 kB / 1.388 GB, free: 4.773 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001329/0.8494, allocations: 0.9396 MB / 1.389 GB, free: 3.777 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.888e-05/0.8495, allocations: 45.31 kB / 1.389 GB, free: 3.734 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/0.8496, allocations: 67.94 kB / 1.389 GB, free: 3.668 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001395/0.851, allocations: 0.987 MB / 1.39 GB, free: 2.605 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/0.851, allocations: 7.938 kB / 1.39 GB, free: 2.598 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.53e-05/0.8511, allocations: 20 kB / 1.39 GB, free: 2.578 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.325e-05/0.8511, allocations: 16 kB / 1.39 GB, free: 2.562 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001276/0.8524, allocations: 0.796 MB / 1.391 GB, free: 1.766 MB / 1.107 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.004013/0.8564, allocations: 4.765 MB / 1.396 GB, free: 12.65 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002138/0.8586, allocations: 4.007 MB / 1.4 GB, free: 7.816 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004907/0.8591, allocations: 350.5 kB / 1.4 GB, free: 7.473 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002659/0.8594, allocations: 194.4 kB / 1.4 GB, free: 7.246 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005114/0.8599, allocations: 333 kB / 1.4 GB, free: 6.902 MB / 1.123 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001881/0.8601, allocations: 31.69 kB / 1.4 GB, free: 6.871 MB / 1.123 GB Notification: Performance of pre-optimization done (n=35): time 2.034e-06/0.8601, allocations: 0 / 1.4 GB, free: 6.871 MB / 1.123 GB Notification: Performance of matching and sorting (n=35): time 0.004425/0.8645, allocations: 1.478 MB / 1.402 GB, free: 5.363 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/0.8646, allocations: 81.11 kB / 1.402 GB, free: 5.266 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001321/0.8659, allocations: 1.184 MB / 1.403 GB, free: 4.066 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 4.871e-05/0.866, allocations: 37.7 kB / 1.403 GB, free: 4.023 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003838/0.8663, allocations: 0.5082 MB / 1.404 GB, free: 3.512 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 8.845e-05/0.8664, allocations: 126.3 kB / 1.404 GB, free: 3.387 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001615/0.8666, allocations: 114.2 kB / 1.404 GB, free: 3.27 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 9.034e-05/0.8667, allocations: 326 kB / 1.404 GB, free: 2.945 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004175/0.8671, allocations: 250.8 kB / 1.404 GB, free: 2.699 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00062/0.8678, allocations: 0.5565 MB / 1.405 GB, free: 2.004 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009181/0.8687, allocations: 0.6854 MB / 1.406 GB, free: 1.238 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.8687, allocations: 4 kB / 1.406 GB, free: 1.234 MB / 1.123 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.00229/0.871, allocations: 1.095 MB / 1.407 GB, free: 124 kB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 4.386e-05/0.8711, allocations: 39.88 kB / 1.407 GB, free: 80 kB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.8711, allocations: 8 kB / 1.407 GB, free: 72 kB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001466/0.8725, allocations: 412.3 kB / 1.407 GB, free: 15.67 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005186/0.8731, allocations: 107.8 kB / 1.407 GB, free: 15.56 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001557/0.8746, allocations: 1.654 MB / 1.409 GB, free: 13.86 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007826/0.8754, allocations: 64.02 kB / 1.409 GB, free: 13.8 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.305e-05/0.8755, allocations: 24 kB / 1.409 GB, free: 13.77 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007257/0.8762, allocations: 0.5282 MB / 1.41 GB, free: 13.24 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005766/0.8768, allocations: 0.5177 MB / 1.41 GB, free: 12.58 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008222/0.8777, allocations: 0.6113 MB / 1.411 GB, free: 11.89 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.625e-06/0.8777, allocations: 0 / 1.411 GB, free: 11.89 MB / 1.139 GB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.00155/0.8792, allocations: 0.8922 MB / 1.411 GB, free: 10.98 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.764e-05/0.8793, allocations: 37.69 kB / 1.412 GB, free: 10.94 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/0.8793, allocations: 8 kB / 1.412 GB, free: 10.93 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004786/0.8798, allocations: 211.8 kB / 1.412 GB, free: 10.72 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003821/0.8802, allocations: 95.8 kB / 1.412 GB, free: 10.63 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003524/0.8837, allocations: 3.159 MB / 1.415 GB, free: 7.328 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00079/0.8845, allocations: 71.97 kB / 1.415 GB, free: 7.258 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.918e-05/0.8845, allocations: 27.94 kB / 1.415 GB, free: 7.23 MB / 1.139 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): 35 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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 {(10,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0001654/0.8847, allocations: 217.6 kB / 1.415 GB, free: 7.012 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000119/0.8848, allocations: 106.7 kB / 1.415 GB, free: 6.906 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001339/0.8862, allocations: 0.7929 MB / 1.416 GB, free: 6.102 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.968e-06/0.8862, allocations: 7.922 kB / 1.416 GB, free: 6.094 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.8862, allocations: 4 kB / 1.416 GB, free: 6.09 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00029/0.8865, allocations: 227.7 kB / 1.416 GB, free: 5.848 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001163/0.8866, allocations: 7.938 kB / 1.416 GB, free: 5.84 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005547/0.8872, allocations: 43.94 kB / 1.416 GB, free: 5.797 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.8873, allocations: 43.92 kB / 1.416 GB, free: 5.754 MB / 1.139 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001551/0.8889, allocations: 0.8564 MB / 1.417 GB, free: 4.883 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001229/0.8901, allocations: 1.001 MB / 1.418 GB, free: 3.867 MB / 1.139 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003471/0.8905, allocations: 208.3 kB / 1.418 GB, free: 3.664 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0009636/0.8914, allocations: 0.8443 MB / 1.419 GB, free: 2.812 MB / 1.139 GB Notification: Performance of Backend: time 6.01e-07/0.8914, allocations: 0 / 1.419 GB, free: 2.812 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.003415/0.8949, allocations: 1.355 MB / 1.421 GB, free: 1.422 MB / 1.139 GB Notification: Performance of SimCode: time 0.003951/0.8988, allocations: 2.909 MB / 1.423 GB, free: 14.47 MB / 1.154 GB Notification: Performance of Templates: time 0.03265/0.9315, allocations: 21.83 MB / 1.445 GB, free: 8.84 MB / 1.17 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches