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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0008681/0.0008679, allocations: 99.58 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009956/0.0009957, allocations: 187.4 kB / 16.92 MB, free: 6.75 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.4/1.4, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.561/2.561, allocations: 437.8 MB / 0.7128 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003386/0.0003389, allocations: 12.28 kB / 0.8735 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6568/0.6571, allocations: 153.8 MB / 1.024 GB, free: 112 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp): time 0.1694/0.8266, allocations: 163.4 MB / 1.183 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.005659/0.8323, allocations: 4.028 MB / 1.187 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005363/0.8329, allocations: 15.88 kB / 1.187 GB, free: 8.086 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0006799/0.8336, allocations: 202.9 kB / 1.187 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001684/0.8353, allocations: 0.6342 MB / 1.188 GB, free: 7.25 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001346/0.8366, allocations: 440.2 kB / 1.188 GB, free: 6.824 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.003763/0.8404, allocations: 3.803 MB / 1.192 GB, free: 3.008 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002791/0.8432, allocations: 2.367 MB / 1.194 GB, free: 0.625 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002265/0.8455, allocations: 1.117 MB / 1.196 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001171/0.8467, allocations: 0.8713 MB / 1.196 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001076/0.8468, allocations: 44 kB / 1.196 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001663/0.8485, allocations: 0.8886 MB / 1.197 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003599/0.8488, allocations: 338.7 kB / 1.198 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.000711/0.8496, allocations: 0.6001 MB / 1.198 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001242/0.8508, allocations: 1.161 MB / 1.199 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.8508, allocations: 0 / 1.199 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.814e-06/0.8508, allocations: 0 / 1.199 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.179e-05/0.8508, allocations: 0 / 1.199 GB, free: 11.59 MB / 0.9512 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.002461/0.8533, allocations: 1.479 MB / 1.201 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.8534, allocations: 8.031 kB / 1.201 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007957/0.8542, allocations: 198.4 kB / 1.201 GB, free: 9.848 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001262/0.8554, allocations: 0.8812 MB / 1.202 GB, free: 8.91 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.264e-05/0.8555, allocations: 45.31 kB / 1.202 GB, free: 8.863 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001316/0.8556, allocations: 68 kB / 1.202 GB, free: 8.797 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001446/0.8571, allocations: 0.9987 MB / 1.203 GB, free: 7.723 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.8571, allocations: 4 kB / 1.203 GB, free: 7.719 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.808e-05/0.8572, allocations: 24 kB / 1.203 GB, free: 7.695 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.508e-05/0.8572, allocations: 12 kB / 1.203 GB, free: 7.684 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00127/0.8585, allocations: 0.8077 MB / 1.204 GB, free: 6.875 MB / 0.9512 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.004596/0.8631, allocations: 4.808 MB / 1.208 GB, free: 1.727 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002511/0.8656, allocations: 4.024 MB / 1.212 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005272/0.8662, allocations: 351.1 kB / 1.213 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003015/0.8665, allocations: 194.5 kB / 1.213 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005596/0.8671, allocations: 338.2 kB / 1.213 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004425/0.8675, allocations: 31.69 kB / 1.213 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=35): time 6.522e-06/0.8675, allocations: 4 kB / 1.213 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of matching and sorting (n=35): time 0.005391/0.8729, allocations: 1.703 MB / 1.215 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.064e-05/0.873, allocations: 89.11 kB / 1.215 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001532/0.8746, allocations: 1.185 MB / 1.216 GB, free: 8.883 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 6.386e-05/0.8746, allocations: 37.7 kB / 1.216 GB, free: 8.84 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004348/0.8751, allocations: 0.516 MB / 1.217 GB, free: 8.32 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001062/0.8752, allocations: 118.3 kB / 1.217 GB, free: 8.203 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.835e-05/0.8753, allocations: 49.69 kB / 1.217 GB, free: 8.148 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.8754, allocations: 329.9 kB / 1.217 GB, free: 7.82 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000429/0.8758, allocations: 232.9 kB / 1.217 GB, free: 7.594 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006518/0.8765, allocations: 0.5644 MB / 1.218 GB, free: 6.891 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009641/0.8775, allocations: 0.6903 MB / 1.219 GB, free: 6.121 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.8775, allocations: 4 kB / 1.219 GB, free: 6.117 MB / 0.9669 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002595/0.8801, allocations: 1.153 MB / 1.22 GB, free: 4.945 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001866/0.8803, allocations: 275.6 kB / 1.22 GB, free: 4.594 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.8803, allocations: 4 kB / 1.22 GB, free: 4.59 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001574/0.8819, allocations: 475.8 kB / 1.22 GB, free: 4.125 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003488/0.8823, allocations: 67.89 kB / 1.221 GB, free: 4.059 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001486/0.8837, allocations: 1.123 MB / 1.222 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001052/0.8848, allocations: 95.84 kB / 1.222 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.952e-05/0.8849, allocations: 24.11 kB / 1.222 GB, free: 2.793 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 8.165e-06/0.8849, allocations: 7.938 kB / 1.222 GB, free: 2.785 MB / 0.9669 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001476/0.8864, allocations: 0.8097 MB / 1.223 GB, free: 1.965 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/0.8864, allocations: 8 kB / 1.223 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005727/0.887, allocations: 243.8 kB / 1.223 GB, free: 1.719 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003124/0.8873, allocations: 83.83 kB / 1.223 GB, free: 1.637 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003755/0.8911, allocations: 3.109 MB / 1.226 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009913/0.8921, allocations: 95.8 kB / 1.226 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.862e-05/0.8921, allocations: 28 kB / 1.226 GB, free: 14.27 MB / 0.9825 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.0005843/0.8927, allocations: 486.9 kB / 1.226 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001422/0.8929, allocations: 106.7 kB / 1.227 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001442/0.8943, allocations: 0.8244 MB / 1.227 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/0.8943, allocations: 4 kB / 1.227 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.8944, allocations: 3.984 kB / 1.227 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.8944, allocations: 0 / 1.227 GB, free: 12.83 MB / 0.9825 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 postOpt removeSimpleEquations (simulation): time 0.002945/0.8973, allocations: 2.171 MB / 1.23 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.8973, allocations: 0 / 1.23 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002658/0.8976, allocations: 52.12 kB / 1.23 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005021/0.8981, allocations: 243.7 kB / 1.23 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.515e-05/0.8982, allocations: 8 kB / 1.23 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008996/0.8991, allocations: 0.9461 MB / 1.231 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.8991, allocations: 4 kB / 1.231 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001388/0.9005, allocations: 0.8883 MB / 1.232 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004118/0.9009, allocations: 239.6 kB / 1.232 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/0.901, allocations: 11.94 kB / 1.232 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006733/0.9017, allocations: 63.92 kB / 1.232 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.9018, allocations: 35.89 kB / 1.232 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.211e-05/0.9018, allocations: 16 kB / 1.232 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001102/0.9029, allocations: 0.8367 MB / 1.233 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.8e-07/0.903, allocations: 4 kB / 1.233 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001403/0.9044, allocations: 0.4953 MB / 1.233 GB, free: 6.594 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004756/0.9049, allocations: 182.1 kB / 1.233 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002676/0.9075, allocations: 1.314 MB / 1.235 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.9076, allocations: 0 / 1.235 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0006437/0.9082, allocations: 312.8 kB / 1.235 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003831/0.9121, allocations: 0.6497 MB / 1.236 GB, free: 4.117 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003374/0.9154, allocations: 2.366 MB / 1.238 GB, free: 1.695 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007593/0.9162, allocations: 1.213 MB / 1.239 GB, free: 464 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001764/0.9164, allocations: 71.42 kB / 1.239 GB, free: 392 kB / 0.9825 GB Notification: Performance of SimCode: time 4.51e-07/0.9164, allocations: 0 / 1.239 GB, free: 392 kB / 0.9825 GB Notification: Performance of Templates: time 0.5274/1.444, allocations: 22.76 MB / 1.261 GB, free: 229.1 MB / 0.9981 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