Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|spl.port_1.m_flow|spl.port_2.m_flow|spl.port_3.m_flow|spl.port_1.p|spl.port_2.p|spl.port_3.p|spl.res1.dp|spl.res2.dp|spl.res3.dp|senTem1.T|senTem2.T|senTem3.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction") translateModel(Buildings.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|spl.port_1.m_flow|spl.port_2.m_flow|spl.port_3.m_flow|spl.port_1.p|spl.port_2.p|spl.port_3.p|spl.res1.dp|spl.res2.dp|spl.res3.dp|senTem1.T|senTem2.T|senTem3.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.273/2.273, allocations: 390.5 MB / 398 MB, free: 11 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009955/0.0009959, allocations: 184.2 kB / 491.2 MB, free: 1.602 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.511/1.511, allocations: 221.5 MB / 0.7868 GB, free: 13.25 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 95.88 kB / 0.9269 GB, free: 13.74 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.07e-05/2.096e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.311/0.311, allocations: 143 MB / 1.212 GB, free: 39.51 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.605/5.916, allocations: 1.928 GB / 3.14 GB, free: 340.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002905/5.917, allocations: 91.62 kB / 3.14 GB, free: 340.7 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.671/9.587, allocations: 0.9206 GB / 4.061 GB, free: 223.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.984e-06/9.587, allocations: 0 / 4.061 GB, free: 223.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002259/9.588, allocations: 39.59 kB / 4.061 GB, free: 223.5 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.005109/9.593, allocations: 1.524 MB / 4.063 GB, free: 222.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.376e-05/9.593, allocations: 7.344 kB / 4.063 GB, free: 222.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003459/9.596, allocations: 419.7 kB / 4.063 GB, free: 222.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003223/9.6, allocations: 1.077 MB / 4.064 GB, free: 222.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.264e-05/9.6, allocations: 23.66 kB / 4.064 GB, free: 222.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002948/9.6, allocations: 49.66 kB / 4.064 GB, free: 222.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001595/9.602, allocations: 0.6848 MB / 4.065 GB, free: 222.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001566/9.603, allocations: 0.6848 MB / 4.065 GB, free: 222.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.98e-05/9.603, allocations: 3.094 kB / 4.065 GB, free: 222.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.95e-05/9.603, allocations: 0 / 4.065 GB, free: 222.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.607e-05/9.603, allocations: 31.52 kB / 4.065 GB, free: 222.4 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.005693/9.609, allocations: 3.496 MB / 4.069 GB, free: 220.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001314/9.61, allocations: 1.053 MB / 4.07 GB, free: 220.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003952/9.611, allocations: 328.8 kB / 4.07 GB, free: 220.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006291/9.611, allocations: 404.1 kB / 4.071 GB, free: 219.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/9.611, allocations: 40.34 kB / 4.071 GB, free: 219.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=60): time 3.727e-06/9.611, allocations: 0 / 4.071 GB, free: 219.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=60): time 0.00182/9.613, allocations: 0.7247 MB / 4.071 GB, free: 219.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/9.613, allocations: 62.12 kB / 4.071 GB, free: 219.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008834/9.614, allocations: 0.594 MB / 4.072 GB, free: 219.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.157e-05/9.614, allocations: 29.45 kB / 4.072 GB, free: 219.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003516/9.615, allocations: 482.2 kB / 4.072 GB, free: 219.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001976/9.615, allocations: 209.5 kB / 4.073 GB, free: 219.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.98e-05/9.615, allocations: 0 / 4.073 GB, free: 219.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001273/9.615, allocations: 336.1 kB / 4.073 GB, free: 219 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003311/9.615, allocations: 215.1 kB / 4.073 GB, free: 219 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004145/9.616, allocations: 347.9 kB / 4.074 GB, free: 218.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006442/9.616, allocations: 344.3 kB / 4.074 GB, free: 218.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/9.616, allocations: 3.953 kB / 4.074 GB, free: 218.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001241/9.618, allocations: 0.7177 MB / 4.075 GB, free: 218.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.000175/9.618, allocations: 458.5 kB / 4.075 GB, free: 218.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/9.618, allocations: 2.781 kB / 4.075 GB, free: 218.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.772e-05/9.618, allocations: 6.406 kB / 4.075 GB, free: 218.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006099/9.619, allocations: 132.7 kB / 4.075 GB, free: 218.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.469e-05/9.619, allocations: 10.27 kB / 4.075 GB, free: 218.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001246/9.62, allocations: 118.9 kB / 4.075 GB, free: 218.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.731e-05/9.62, allocations: 25.06 kB / 4.075 GB, free: 218.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/9.62, allocations: 3.875 kB / 4.075 GB, free: 218.3 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001091/9.621, allocations: 0.5892 MB / 4.076 GB, free: 218.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/9.621, allocations: 0 / 4.076 GB, free: 218.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.37e-06/9.621, allocations: 7.531 kB / 4.076 GB, free: 218.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005325/9.622, allocations: 131.9 kB / 4.076 GB, free: 218.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.547e-06/9.622, allocations: 7.156 kB / 4.076 GB, free: 218.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009994/9.623, allocations: 123.8 kB / 4.076 GB, free: 218.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.404e-05/9.623, allocations: 21.44 kB / 4.076 GB, free: 218.2 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002141/9.623, allocations: 115.2 kB / 4.076 GB, free: 218.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000192/9.623, allocations: 99.25 kB / 4.076 GB, free: 218.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001578/9.625, allocations: 0.7408 MB / 4.077 GB, free: 218 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-05/9.625, allocations: 11.28 kB / 4.077 GB, free: 218 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/9.625, allocations: 0 / 4.077 GB, free: 218 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001151/9.626, allocations: 0.9159 MB / 4.078 GB, free: 217.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004936/9.631, allocations: 2.102 MB / 4.08 GB, free: 217 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.197e-05/9.631, allocations: 3.5 kB / 4.08 GB, free: 217 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007451/9.632, allocations: 159.4 kB / 4.08 GB, free: 217 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.762e-05/9.632, allocations: 3.812 kB / 4.08 GB, free: 217 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.175e-05/9.632, allocations: 11.34 kB / 4.08 GB, free: 217 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.176e-05/9.632, allocations: 7.469 kB / 4.08 GB, free: 217 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.254e-05/9.632, allocations: 7.562 kB / 4.08 GB, free: 217 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002433/9.634, allocations: 1.306 MB / 4.081 GB, free: 216.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00083/9.635, allocations: 256.6 kB / 4.082 GB, free: 216.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001473/9.635, allocations: 13.47 kB / 4.082 GB, free: 216.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001059/9.636, allocations: 116.6 kB / 4.082 GB, free: 216.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001586/9.637, allocations: 52.3 kB / 4.082 GB, free: 216.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.501e-05/9.637, allocations: 28.58 kB / 4.082 GB, free: 216.3 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0009513/9.638, allocations: 473 kB / 4.082 GB, free: 216.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.91e-07/9.638, allocations: 3.562 kB / 4.082 GB, free: 216.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002891/9.64, allocations: 0.6758 MB / 4.083 GB, free: 216.1 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (spl.vol.dynBal.medium.Xi[1],spl.vol.dynBal.U,spl.vol.dynBal.m,senTem1.T,senTem2.T,senTem3.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005654/9.646, allocations: 2.581 MB / 4.086 GB, free: 215.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002057/9.648, allocations: 0.8594 MB / 4.086 GB, free: 215.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.225e-05/9.648, allocations: 3.344 kB / 4.086 GB, free: 215.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004901/9.649, allocations: 298.8 kB / 4.087 GB, free: 215.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004187/9.653, allocations: 0.6113 MB / 4.087 GB, free: 215.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004501/9.657, allocations: 1.7 MB / 4.089 GB, free: 214.7 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001186/9.659, allocations: 1.152 MB / 4.09 GB, free: 214 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001992/9.661, allocations: 344.3 kB / 4.09 GB, free: 214 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002796/9.661, allocations: 62.27 kB / 4.09 GB, free: 214 MB / 1.151 GB Notification: Performance of SimCode: time 1.743e-06/9.661, allocations: 6.625 kB / 4.09 GB, free: 214 MB / 1.151 GB Notification: Performance of Templates: time 0.05453/9.716, allocations: 32.1 MB / 4.122 GB, free: 210.5 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Examples_FlowJunction.csv","../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches