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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001227/0.001227, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001354/0.001354, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 223.2 MB / 239.9 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.507/2.507, allocations: 436.5 MB / 0.7104 GB, free: 7.836 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003026/0.0003026, allocations: 11.98 kB / 0.8708 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6211/0.6214, allocations: 153.6 MB / 1.021 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp): time 0.1488/0.7702, allocations: 140.5 MB / 1.158 GB, free: 4.219 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.00556/0.7758, allocations: 3.604 MB / 1.162 GB, free: 0.6133 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005599/0.7764, allocations: 11.94 kB / 1.162 GB, free: 0.6016 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0008533/0.7773, allocations: 238.9 kB / 1.162 GB, free: 376 kB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001881/0.7792, allocations: 0.705 MB / 1.162 GB, free: 15.66 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00144/0.7807, allocations: 482.5 kB / 1.163 GB, free: 15.2 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002144/0.7828, allocations: 1.648 MB / 1.165 GB, free: 13.55 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002722/0.7855, allocations: 2.313 MB / 1.167 GB, free: 11.21 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001663/0.7872, allocations: 0.8643 MB / 1.168 GB, free: 10.35 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008045/0.7881, allocations: 0.6031 MB / 1.168 GB, free: 9.742 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001035/0.7882, allocations: 51.94 kB / 1.168 GB, free: 9.691 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00102/0.7892, allocations: 455.4 kB / 1.169 GB, free: 9.246 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002937/0.7895, allocations: 311 kB / 1.169 GB, free: 8.941 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002709/0.7898, allocations: 245.1 kB / 1.169 GB, free: 8.695 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.00108/0.7909, allocations: 1.126 MB / 1.17 GB, free: 7.566 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.7909, allocations: 0 / 1.17 GB, free: 7.566 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.044e-06/0.7909, allocations: 0 / 1.17 GB, free: 7.566 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.695e-05/0.7909, allocations: 0 / 1.17 GB, free: 7.566 MB / 0.92 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.002504/0.7934, allocations: 1.506 MB / 1.172 GB, free: 6 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.7935, allocations: 15.98 kB / 1.172 GB, free: 5.984 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008009/0.7943, allocations: 194.4 kB / 1.172 GB, free: 5.793 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001661/0.796, allocations: 0.8679 MB / 1.173 GB, free: 4.867 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.557e-05/0.796, allocations: 53.27 kB / 1.173 GB, free: 4.816 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/0.7961, allocations: 60 kB / 1.173 GB, free: 4.758 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001392/0.7975, allocations: 0.9948 MB / 1.174 GB, free: 3.691 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/0.7975, allocations: 3.938 kB / 1.174 GB, free: 3.688 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.669e-05/0.7976, allocations: 24 kB / 1.174 GB, free: 3.664 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.284e-05/0.7976, allocations: 12 kB / 1.174 GB, free: 3.652 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001257/0.7989, allocations: 0.8077 MB / 1.175 GB, free: 2.844 MB / 0.92 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.004642/0.8036, allocations: 4.796 MB / 1.179 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002339/0.8059, allocations: 4.044 MB / 1.183 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.383e-05/0.806, allocations: 12.27 kB / 1.183 GB, free: 8.812 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005315/0.8065, allocations: 334.4 kB / 1.184 GB, free: 8.465 MB / 0.9356 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003369/0.8069, allocations: 35.69 kB / 1.184 GB, free: 8.43 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=35): time 2.004e-06/0.8069, allocations: 0 / 1.184 GB, free: 8.43 MB / 0.9356 GB Notification: Performance of matching and sorting (n=35): time 0.005144/0.812, allocations: 1.684 MB / 1.185 GB, free: 6.715 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.825e-05/0.8121, allocations: 114.8 kB / 1.185 GB, free: 6.578 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001365/0.8135, allocations: 1.181 MB / 1.187 GB, free: 5.383 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.214e-05/0.8135, allocations: 41.7 kB / 1.187 GB, free: 5.336 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003919/0.8139, allocations: 0.5121 MB / 1.187 GB, free: 4.82 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 9.455e-05/0.814, allocations: 118.4 kB / 1.187 GB, free: 4.703 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.401e-05/0.8141, allocations: 8 kB / 1.187 GB, free: 4.695 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.8142, allocations: 330 kB / 1.188 GB, free: 4.367 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003584/0.8146, allocations: 209 kB / 1.188 GB, free: 4.164 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005997/0.8152, allocations: 0.5329 MB / 1.188 GB, free: 3.496 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004578/0.8156, allocations: 325.3 kB / 1.189 GB, free: 3.172 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.8156, allocations: 0 / 1.189 GB, free: 3.172 MB / 0.9356 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002284/0.8179, allocations: 1.087 MB / 1.19 GB, free: 2.066 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006824/0.8186, allocations: 2.142 MB / 1.192 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.8187, allocations: 8 kB / 1.192 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001549/0.8202, allocations: 444.5 kB / 1.192 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003222/0.8205, allocations: 71.89 kB / 1.192 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001406/0.822, allocations: 1.127 MB / 1.193 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009813/0.823, allocations: 99.7 kB / 1.193 GB, free: 14 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.244e-05/0.823, allocations: 27.98 kB / 1.194 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 9.768e-06/0.823, allocations: 4 kB / 1.194 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001473/0.8245, allocations: 0.802 MB / 1.194 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.8245, allocations: 4.625 kB / 1.194 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005956/0.8251, allocations: 261.7 kB / 1.195 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003033/0.8254, allocations: 67.89 kB / 1.195 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00389/0.8293, allocations: 3.204 MB / 1.198 GB, free: 9.496 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/0.8304, allocations: 99.8 kB / 1.198 GB, free: 9.398 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.805e-05/0.8304, allocations: 27.94 kB / 1.198 GB, free: 9.371 MB / 0.9512 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 ($whenCondition1,$PRE.pulse_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {11 12} Notification: Performance of prepare postOptimizeDAE: time 0.0005994/0.831, allocations: 480.7 kB / 1.198 GB, free: 8.891 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001326/0.8312, allocations: 110.6 kB / 1.198 GB, free: 8.781 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001369/0.8326, allocations: 0.8049 MB / 1.199 GB, free: 7.965 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.8326, allocations: 4 kB / 1.199 GB, free: 7.961 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.8326, allocations: 112 / 1.199 GB, free: 7.961 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.8326, allocations: 3.938 kB / 1.199 GB, free: 7.957 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 postOpt removeSimpleEquations (simulation): time 0.002918/0.8355, allocations: 2.241 MB / 1.201 GB, free: 5.574 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.8355, allocations: 7.984 kB / 1.201 GB, free: 5.566 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002534/0.8358, allocations: 39.97 kB / 1.201 GB, free: 5.527 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005007/0.8363, allocations: 248.6 kB / 1.202 GB, free: 5.285 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.368e-05/0.8364, allocations: 12 kB / 1.202 GB, free: 5.273 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009269/0.8373, allocations: 0.9385 MB / 1.203 GB, free: 4.309 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.838e-06/0.8373, allocations: 4 kB / 1.203 GB, free: 4.305 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001346/0.8387, allocations: 0.9908 MB / 1.204 GB, free: 3.238 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004441/0.8391, allocations: 235.7 kB / 1.204 GB, free: 2.988 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001156/0.8393, allocations: 11.94 kB / 1.204 GB, free: 2.977 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006878/0.8399, allocations: 79.75 kB / 1.204 GB, free: 2.898 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.837e-05/0.8401, allocations: 31.92 kB / 1.204 GB, free: 2.867 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.048e-05/0.8401, allocations: 19.98 kB / 1.204 GB, free: 2.848 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001031/0.8411, allocations: 0.8289 MB / 1.205 GB, free: 2.012 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8411, allocations: 0 / 1.205 GB, free: 2.012 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001465/0.8426, allocations: 0.5032 MB / 1.205 GB, free: 1.508 MB / 0.9512 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {11 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005127/0.8431, allocations: 189.4 kB / 1.205 GB, free: 1.324 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002592/0.8457, allocations: 1.29 MB / 1.207 GB, free: 0 / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.8457, allocations: 0 / 1.207 GB, free: 0 / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0006606/0.8464, allocations: 316.2 kB / 1.207 GB, free: 15.69 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003213/0.8496, allocations: 0.6625 MB / 1.208 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003034/0.8527, allocations: 2.222 MB / 1.21 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007324/0.8534, allocations: 1.236 MB / 1.211 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0009628/0.8544, allocations: 332.6 kB / 1.211 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001591/0.8546, allocations: 71.42 kB / 1.211 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of SimCode: time 6.61e-07/0.8546, allocations: 3.938 kB / 1.211 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of Templates: time 0.03219/0.8868, allocations: 20.79 MB / 1.232 GB, free: 6.527 MB / 0.9825 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","../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches