Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.469/1.469, allocations: 249.3 MB / 261.8 MB, free: 5.883 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001339/0.00134, allocations: 188.8 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.72/1.72, allocations: 205.2 MB / 0.572 GB, free: 10.59 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009417/0.0009419, allocations: 98.39 kB / 0.6764 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.151e-05/3.176e-05, allocations: 4 kB / 0.7879 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2222/0.2223, allocations: 106.3 MB / 0.8918 GB, free: 6.668 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.837/6.059, allocations: 2.2 GB / 3.092 GB, free: 129 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002527/6.059, allocations: 88.52 kB / 3.092 GB, free: 128.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.647/9.706, allocations: 0.8892 GB / 3.981 GB, free: 141.6 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.944e-06/9.706, allocations: 0 / 3.981 GB, free: 141.6 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002422/9.706, allocations: 33.5 kB / 3.982 GB, free: 141.6 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.005412/9.712, allocations: 1.534 MB / 3.983 GB, free: 141 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/9.712, allocations: 10.62 kB / 3.983 GB, free: 141 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003384/9.715, allocations: 423.6 kB / 3.983 GB, free: 140.9 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003248/9.718, allocations: 1.06 MB / 3.984 GB, free: 140.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.65e-05/9.718, allocations: 66.53 kB / 3.985 GB, free: 140.6 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003485/9.719, allocations: 92.38 kB / 3.985 GB, free: 140.6 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002124/9.721, allocations: 0.798 MB / 3.985 GB, free: 140.6 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.173e-05/9.721, allocations: 0 / 3.985 GB, free: 140.6 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001104/9.721, allocations: 31.44 kB / 3.985 GB, free: 140.6 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.023e-05/9.721, allocations: 33.3 kB / 3.985 GB, free: 140.6 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001444/9.723, allocations: 0.7233 MB / 3.986 GB, free: 140.6 MB / 0.8855 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.005868/9.728, allocations: 3.671 MB / 3.99 GB, free: 139 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001357/9.73, allocations: 1.069 MB / 3.991 GB, free: 138.4 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000467/9.73, allocations: 342.2 kB / 3.991 GB, free: 138.4 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006068/9.731, allocations: 401.5 kB / 3.992 GB, free: 138 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/9.731, allocations: 44.81 kB / 3.992 GB, free: 138 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=60): time 2.454e-06/9.731, allocations: 0 / 3.992 GB, free: 138 MB / 0.8855 GB Notification: Performance of matching and sorting (n=60): time 0.001609/9.733, allocations: 0.6623 MB / 3.992 GB, free: 137.9 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/9.733, allocations: 64.66 kB / 3.992 GB, free: 137.8 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001166/9.734, allocations: 0.7091 MB / 3.993 GB, free: 137.7 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 9.079e-05/9.734, allocations: 44.64 kB / 3.993 GB, free: 137.6 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003171/9.734, allocations: 479.4 kB / 3.993 GB, free: 137.5 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001977/9.734, allocations: 215.9 kB / 3.994 GB, free: 137.4 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.13e-05/9.734, allocations: 8.062 kB / 3.994 GB, free: 137.4 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.134e-05/9.735, allocations: 330.6 kB / 3.994 GB, free: 137.1 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000346/9.735, allocations: 221.5 kB / 3.994 GB, free: 137.1 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004316/9.735, allocations: 374.2 kB / 3.995 GB, free: 136.9 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004257/9.736, allocations: 277.9 kB / 3.995 GB, free: 136.9 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/9.736, allocations: 7.828 kB / 3.995 GB, free: 136.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001133/9.737, allocations: 0.6834 MB / 3.995 GB, free: 136.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001508/9.737, allocations: 455.2 kB / 3.996 GB, free: 136.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/9.737, allocations: 3.781 kB / 3.996 GB, free: 136.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.397e-05/9.737, allocations: 3.781 kB / 3.996 GB, free: 136.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005949/9.738, allocations: 134.7 kB / 3.996 GB, free: 136.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.618e-05/9.738, allocations: 3.781 kB / 3.996 GB, free: 136.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00122/9.739, allocations: 136.3 kB / 3.996 GB, free: 136.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.834e-05/9.739, allocations: 22.88 kB / 3.996 GB, free: 136.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/9.739, allocations: 5.438 kB / 3.996 GB, free: 136.3 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008903/9.74, allocations: 0.5679 MB / 3.997 GB, free: 136.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/9.74, allocations: 0 / 3.997 GB, free: 136.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.105e-06/9.74, allocations: 5.938 kB / 3.997 GB, free: 136.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005391/9.741, allocations: 138.2 kB / 3.997 GB, free: 136.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/9.741, allocations: 6.578 kB / 3.997 GB, free: 136.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001135/9.742, allocations: 126.5 kB / 3.997 GB, free: 136.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.281e-05/9.742, allocations: 29.7 kB / 3.997 GB, free: 136.3 MB / 0.8855 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.000177/9.742, allocations: 139.1 kB / 3.997 GB, free: 136.2 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002202/9.742, allocations: 101 kB / 3.997 GB, free: 136.2 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001237/9.743, allocations: 0.7225 MB / 3.998 GB, free: 136.1 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/9.743, allocations: 11.55 kB / 3.998 GB, free: 136.1 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/9.743, allocations: 0 / 3.998 GB, free: 136.1 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008498/9.744, allocations: 0.8729 MB / 3.999 GB, free: 135.7 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003576/9.748, allocations: 2.189 MB / 4.001 GB, free: 135 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/9.748, allocations: 3.719 kB / 4.001 GB, free: 135 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006629/9.749, allocations: 151.9 kB / 4.001 GB, free: 135 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.144e-05/9.749, allocations: 7.562 kB / 4.001 GB, free: 135 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.318e-05/9.749, allocations: 17.56 kB / 4.001 GB, free: 135 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.049e-05/9.749, allocations: 14.14 kB / 4.001 GB, free: 135 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/9.749, allocations: 3.75 kB / 4.001 GB, free: 135 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001567/9.75, allocations: 1.32 MB / 4.002 GB, free: 134.5 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005543/9.751, allocations: 267.8 kB / 4.003 GB, free: 134.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001962/9.751, allocations: 15.84 kB / 4.003 GB, free: 134.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001103/9.752, allocations: 132.5 kB / 4.003 GB, free: 134.3 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001211/9.752, allocations: 51.48 kB / 4.003 GB, free: 134.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.218e-05/9.752, allocations: 23.5 kB / 4.003 GB, free: 134.3 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0007788/9.753, allocations: 0.5662 MB / 4.004 GB, free: 134.2 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.9e-07/9.753, allocations: 3.5 kB / 4.004 GB, free: 134.2 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002626/9.756, allocations: 0.7711 MB / 4.004 GB, free: 134.2 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (spl.vol.dynBal.U,spl.vol.dynBal.m,spl.vol.dynBal.mXi[1],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.003873/9.76, allocations: 2.318 MB / 4.007 GB, free: 133.3 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001518/9.761, allocations: 0.8993 MB / 4.007 GB, free: 133.3 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/9.761, allocations: 1.375 kB / 4.007 GB, free: 133.3 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0004451/9.762, allocations: 315.5 kB / 4.008 GB, free: 133.3 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003395/9.765, allocations: 0.6667 MB / 4.008 GB, free: 133.3 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003379/9.768, allocations: 1.742 MB / 4.01 GB, free: 132.8 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009701/9.769, allocations: 1.151 MB / 4.011 GB, free: 132.1 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001803/9.771, allocations: 380.1 kB / 4.012 GB, free: 132 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002425/9.772, allocations: 67.64 kB / 4.012 GB, free: 132 MB / 0.8855 GB Notification: Performance of SimCode: time 8.51e-07/9.772, allocations: 0 / 4.012 GB, free: 132 MB / 0.8855 GB Notification: Performance of Templates: time 0.07518/9.847, allocations: 54 MB / 4.064 GB, free: 128.6 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_FixedResistances_Examples_FlowJunction.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches