Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FixedResistances.Examples.FlowJunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Fluid.FixedResistances.Examples.FlowJunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.679/2.679, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001842/0.001842, allocations: 181 kB / 498.1 MB, free: 5.758 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.881/1.881, allocations: 223.2 MB / 0.7948 GB, free: 17.94 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.001188/0.001188, allocations: 100.9 kB / 0.9346 GB, free: 6.246 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003943/0.0003945, allocations: 10.88 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3322/0.3326, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.453/4.786, allocations: 1.928 GB / 3.151 GB, free: 59.69 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002469/4.786, allocations: 92.02 kB / 3.151 GB, free: 59.64 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.274/8.06, allocations: 0.9315 GB / 4.082 GB, free: 28.88 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.823e-06/8.06, allocations: 0 / 4.082 GB, free: 28.88 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001107/8.06, allocations: 35.98 kB / 4.082 GB, free: 28.85 MB / 1.167 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.004078/8.064, allocations: 1.753 MB / 4.084 GB, free: 27.04 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.976e-05/8.064, allocations: 12.03 kB / 4.084 GB, free: 27.03 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002652/8.067, allocations: 410 kB / 4.085 GB, free: 26.63 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002185/8.069, allocations: 1.078 MB / 4.086 GB, free: 25.51 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.738e-05/8.069, allocations: 69.95 kB / 4.086 GB, free: 25.44 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001224/8.069, allocations: 91.94 kB / 4.086 GB, free: 25.35 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00139/8.071, allocations: 0.8428 MB / 4.087 GB, free: 24.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.155e-05/8.071, allocations: 0 / 4.087 GB, free: 24.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.521e-05/8.071, allocations: 31.98 kB / 4.087 GB, free: 24.47 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.179e-05/8.071, allocations: 33.98 kB / 4.087 GB, free: 24.44 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001203/8.072, allocations: 0.7925 MB / 4.087 GB, free: 23.64 MB / 1.167 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.004229/8.076, allocations: 3.678 MB / 4.091 GB, free: 19.67 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001234/8.078, allocations: 1.099 MB / 4.092 GB, free: 18.45 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005541/8.078, allocations: 408.9 kB / 4.092 GB, free: 17.98 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/8.078, allocations: 39.12 kB / 4.093 GB, free: 17.93 MB / 1.167 GB Notification: Performance of pre-optimization done (n=60): time 2.255e-06/8.078, allocations: 0 / 4.093 GB, free: 17.93 MB / 1.167 GB Notification: Performance of matching and sorting (n=60): time 0.001898/8.08, allocations: 1.009 MB / 4.094 GB, free: 16.92 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.152e-05/8.08, allocations: 63.91 kB / 4.094 GB, free: 16.84 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008476/8.081, allocations: 0.7218 MB / 4.094 GB, free: 16.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.811e-05/8.081, allocations: 37.7 kB / 4.094 GB, free: 16.06 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002551/8.081, allocations: 492.2 kB / 4.095 GB, free: 15.57 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001443/8.082, allocations: 212.8 kB / 4.095 GB, free: 15.36 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.858e-05/8.082, allocations: 12 kB / 4.095 GB, free: 15.35 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.181e-05/8.082, allocations: 333.9 kB / 4.095 GB, free: 15.02 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004014/8.082, allocations: 265 kB / 4.096 GB, free: 14.76 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004744/8.083, allocations: 403.7 kB / 4.096 GB, free: 14.31 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004501/8.083, allocations: 318 kB / 4.096 GB, free: 14 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/8.083, allocations: 0 / 4.096 GB, free: 14 MB / 1.167 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001097/8.084, allocations: 0.7594 MB / 4.097 GB, free: 13.23 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001133/8.084, allocations: 455.3 kB / 4.097 GB, free: 12.76 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/8.084, allocations: 0 / 4.097 GB, free: 12.76 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/8.084, allocations: 8 kB / 4.097 GB, free: 12.75 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005771/8.085, allocations: 135.8 kB / 4.098 GB, free: 12.62 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/8.085, allocations: 4 kB / 4.098 GB, free: 12.61 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001015/8.086, allocations: 147.3 kB / 4.098 GB, free: 12.47 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.254e-05/8.086, allocations: 23.98 kB / 4.098 GB, free: 12.45 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 9.738e-06/8.086, allocations: 4 kB / 4.098 GB, free: 12.44 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009475/8.087, allocations: 0.6456 MB / 4.098 GB, free: 11.79 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/8.087, allocations: 4 kB / 4.098 GB, free: 11.79 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.869e-06/8.087, allocations: 4 kB / 4.098 GB, free: 11.79 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005046/8.087, allocations: 127.8 kB / 4.099 GB, free: 11.66 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/8.087, allocations: 11.94 kB / 4.099 GB, free: 11.65 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009311/8.088, allocations: 143.4 kB / 4.099 GB, free: 11.51 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.777e-05/8.088, allocations: 27.98 kB / 4.099 GB, free: 11.48 MB / 1.167 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 () * Number of clocked 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.0005281/8.089, allocations: 380.9 kB / 4.099 GB, free: 11.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000129/8.089, allocations: 102.8 kB / 4.099 GB, free: 11 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001232/8.09, allocations: 0.7979 MB / 4.1 GB, free: 10.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/8.09, allocations: 11.94 kB / 4.1 GB, free: 10.19 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/8.09, allocations: 3.953 kB / 4.1 GB, free: 10.18 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000941/8.091, allocations: 0.958 MB / 4.101 GB, free: 9.137 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003092/8.094, allocations: 2.261 MB / 4.103 GB, free: 6.738 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.72e-06/8.094, allocations: 4 kB / 4.103 GB, free: 6.734 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000659/8.095, allocations: 160.1 kB / 4.103 GB, free: 6.578 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-05/8.095, allocations: 8 kB / 4.103 GB, free: 6.57 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.71e-05/8.095, allocations: 16 kB / 4.103 GB, free: 6.555 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.593e-06/8.095, allocations: 4 kB / 4.103 GB, free: 6.551 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/8.095, allocations: 11.89 kB / 4.103 GB, free: 6.539 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001659/8.097, allocations: 1.414 MB / 4.105 GB, free: 4.992 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004315/8.097, allocations: 259.8 kB / 4.105 GB, free: 4.719 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001112/8.097, allocations: 15.95 kB / 4.105 GB, free: 4.703 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000864/8.098, allocations: 127.7 kB / 4.105 GB, free: 4.578 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.614e-05/8.098, allocations: 52.33 kB / 4.105 GB, free: 4.523 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.945e-05/8.099, allocations: 23.98 kB / 4.105 GB, free: 4.5 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0006259/8.099, allocations: 0.5784 MB / 4.106 GB, free: 3.91 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.81e-07/8.099, allocations: 0 / 4.106 GB, free: 3.91 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002038/8.101, allocations: 0.7604 MB / 4.106 GB, free: 3.148 MB / 1.167 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 () * Number of clocked 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.002782/8.104, allocations: 2.333 MB / 4.109 GB, free: 0.6445 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.6465/8.75, allocations: 0.9805 MB / 4.11 GB, free: 226.3 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.188e-05/8.751, allocations: 0 / 4.11 GB, free: 226.3 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007747/8.751, allocations: 357.8 kB / 4.11 GB, free: 226.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0036/8.755, allocations: 0.6657 MB / 4.111 GB, free: 226.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004297/8.759, allocations: 2.634 MB / 4.113 GB, free: 225.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008549/8.76, allocations: 1.152 MB / 4.114 GB, free: 224.5 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001616/8.762, allocations: 288 kB / 4.115 GB, free: 224.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002813/8.762, allocations: 86.38 kB / 4.115 GB, free: 224.5 MB / 1.167 GB Notification: Performance of SimCode: time 1.222e-06/8.762, allocations: 0 / 4.115 GB, free: 224.5 MB / 1.167 GB Notification: Performance of Templates: time 0.07331/8.835, allocations: 46.2 MB / 4.16 GB, free: 223.9 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.FixedResistances.Examples.FlowJunction.makefile (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Examples.FlowJunction.sim & ./Buildings_9_Buildings.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FixedResistances.Examples.FlowJunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FixedResistances_Examples_FlowJunction.csv","../files/Buildings_9_Buildings.Fluid.FixedResistances.Examples.FlowJunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches