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.359/1.359, allocations: 251.9 MB / 266.9 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001189/0.001189, allocations: 182.5 kB / 326.5 MB, free: 2.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.715/1.715, allocations: 205.4 MB / 0.5775 GB, free: 20.23 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.0009022/0.0009022, allocations: 92.94 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003401/0.0003402, allocations: 9.219 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2237/0.2241, allocations: 106.3 MB / 0.9001 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.659/4.883, allocations: 2.2 GB / 3.101 GB, free: 18.3 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002257/4.883, allocations: 97.36 kB / 3.101 GB, free: 18.21 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 2.943/7.827, allocations: 0.8901 GB / 3.991 GB, free: 145.4 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.733e-06/7.827, allocations: 0 / 3.991 GB, free: 145.4 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001632/7.827, allocations: 46.66 kB / 3.991 GB, free: 145.4 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.004642/7.831, allocations: 1.752 MB / 3.993 GB, free: 143.7 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/7.831, allocations: 12.03 kB / 3.993 GB, free: 143.7 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002771/7.834, allocations: 414.2 kB / 3.993 GB, free: 143.3 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002502/7.837, allocations: 1.074 MB / 3.994 GB, free: 142.2 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.031e-05/7.837, allocations: 65.61 kB / 3.994 GB, free: 142.1 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001976/7.837, allocations: 84 kB / 3.994 GB, free: 142 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00156/7.839, allocations: 0.8533 MB / 3.995 GB, free: 141.2 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.391e-05/7.839, allocations: 4 kB / 3.995 GB, free: 141.2 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.338e-05/7.839, allocations: 34.66 kB / 3.995 GB, free: 141.2 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.226e-05/7.839, allocations: 30 kB / 3.995 GB, free: 141.1 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001412/7.84, allocations: 0.7913 MB / 3.996 GB, free: 140.3 MB / 0.8855 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.004866/7.845, allocations: 3.679 MB / 3.999 GB, free: 136.4 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001273/7.846, allocations: 1.099 MB / 4 GB, free: 135.2 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000565/7.847, allocations: 399.8 kB / 4.001 GB, free: 134.8 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/7.847, allocations: 39.12 kB / 4.001 GB, free: 134.7 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=60): time 2.495e-06/7.847, allocations: 0 / 4.001 GB, free: 134.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=60): time 0.001932/7.849, allocations: 1.004 MB / 4.002 GB, free: 133.7 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.807e-05/7.849, allocations: 63.95 kB / 4.002 GB, free: 133.7 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009863/7.85, allocations: 0.721 MB / 4.003 GB, free: 132.9 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.269e-05/7.85, allocations: 45.7 kB / 4.003 GB, free: 132.9 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002637/7.85, allocations: 482.9 kB / 4.003 GB, free: 132.4 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001528/7.85, allocations: 218.6 kB / 4.003 GB, free: 132.2 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.846e-05/7.851, allocations: 8 kB / 4.003 GB, free: 132.2 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 6.165e-05/7.851, allocations: 329.9 kB / 4.004 GB, free: 131.8 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004262/7.851, allocations: 264.4 kB / 4.004 GB, free: 131.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004988/7.852, allocations: 415.2 kB / 4.004 GB, free: 131.1 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005028/7.852, allocations: 313.3 kB / 4.005 GB, free: 130.8 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/7.852, allocations: 0 / 4.005 GB, free: 130.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001177/7.853, allocations: 0.7612 MB / 4.005 GB, free: 130.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001098/7.853, allocations: 450.8 kB / 4.006 GB, free: 129.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/7.853, allocations: 4 kB / 4.006 GB, free: 129.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/7.853, allocations: 4 kB / 4.006 GB, free: 129.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005616/7.854, allocations: 134.9 kB / 4.006 GB, free: 129.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/7.854, allocations: 4 kB / 4.006 GB, free: 129.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001039/7.855, allocations: 135.1 kB / 4.006 GB, free: 129.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.423e-05/7.855, allocations: 20 kB / 4.006 GB, free: 129.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/7.855, allocations: 6.656 kB / 4.006 GB, free: 129.3 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009768/7.856, allocations: 0.6513 MB / 4.007 GB, free: 128.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.046e-06/7.856, allocations: 0 / 4.007 GB, free: 128.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.941e-06/7.856, allocations: 7.953 kB / 4.007 GB, free: 128.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005195/7.857, allocations: 135.1 kB / 4.007 GB, free: 128.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/7.857, allocations: 4 kB / 4.007 GB, free: 128.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009712/7.858, allocations: 129.7 kB / 4.007 GB, free: 128.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.781e-05/7.858, allocations: 20 kB / 4.007 GB, free: 128.4 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 () * 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.0005059/7.858, allocations: 388.9 kB / 4.007 GB, free: 128 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001603/7.858, allocations: 105.5 kB / 4.007 GB, free: 127.9 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001268/7.86, allocations: 0.7971 MB / 4.008 GB, free: 127.1 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/7.86, allocations: 7.953 kB / 4.008 GB, free: 127.1 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/7.86, allocations: 0 / 4.008 GB, free: 127.1 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009749/7.861, allocations: 0.9527 MB / 4.009 GB, free: 126.1 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003249/7.864, allocations: 2.257 MB / 4.011 GB, free: 123.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/7.864, allocations: 4 kB / 4.011 GB, free: 123.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006595/7.865, allocations: 151.8 kB / 4.012 GB, free: 123.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.418e-06/7.865, allocations: 8 kB / 4.012 GB, free: 123.5 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.55e-05/7.865, allocations: 19.09 kB / 4.012 GB, free: 123.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/7.865, allocations: 11.89 kB / 4.012 GB, free: 123.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/7.865, allocations: 4 kB / 4.012 GB, free: 123.5 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001637/7.866, allocations: 1.428 MB / 4.013 GB, free: 121.9 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005079/7.867, allocations: 267 kB / 4.013 GB, free: 121.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001507/7.867, allocations: 25.69 kB / 4.013 GB, free: 121.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009793/7.868, allocations: 130.5 kB / 4.013 GB, free: 121.5 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.781e-05/7.868, allocations: 48.31 kB / 4.013 GB, free: 121.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.718e-05/7.868, allocations: 27.98 kB / 4.013 GB, free: 121.5 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.000667/7.869, allocations: 0.5744 MB / 4.014 GB, free: 120.9 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/7.869, allocations: 0 / 4.014 GB, free: 120.9 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001999/7.871, allocations: 0.7749 MB / 4.015 GB, free: 120.1 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 () * 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.002826/7.874, allocations: 2.324 MB / 4.017 GB, free: 117.9 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001583/7.875, allocations: 0.9664 MB / 4.018 GB, free: 116.9 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/7.875, allocations: 4.312 kB / 4.018 GB, free: 116.9 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0004925/7.876, allocations: 354.1 kB / 4.018 GB, free: 116.6 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002828/7.879, allocations: 0.675 MB / 4.019 GB, free: 115.9 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003388/7.882, allocations: 2.628 MB / 4.022 GB, free: 113.2 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005881/7.883, allocations: 1.151 MB / 4.023 GB, free: 112.1 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001187/7.884, allocations: 295.5 kB / 4.023 GB, free: 111.8 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002654/7.884, allocations: 87.03 kB / 4.023 GB, free: 111.7 MB / 0.8855 GB Notification: Performance of SimCode: time 9.72e-07/7.884, allocations: 0 / 4.023 GB, free: 111.7 MB / 0.8855 GB Notification: Performance of Templates: time 0.05569/7.94, allocations: 46.33 MB / 4.068 GB, free: 65.97 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