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.465/1.465, allocations: 249.5 MB / 257 MB, free: 6.852 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.001211/0.001211, allocations: 179.6 kB / 316.3 MB, free: 3.227 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.826/1.826, allocations: 205.3 MB / 0.5671 GB, free: 15.88 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.001077/0.001077, allocations: 82.55 kB / 0.6714 GB, free: 5 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.938e-05/2.94e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2573/0.2573, allocations: 106.3 MB / 0.8852 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.777/6.035, allocations: 2.201 GB / 3.086 GB, free: 164.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003279/6.035, allocations: 96.28 kB / 3.086 GB, free: 164.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.752/9.787, allocations: 0.8791 GB / 3.965 GB, free: 143.2 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.864e-06/9.787, allocations: 0 / 3.965 GB, free: 143.2 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001342/9.787, allocations: 36.56 kB / 3.965 GB, free: 143.2 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.004217/9.791, allocations: 1.535 MB / 3.967 GB, free: 142.8 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.455e-05/9.791, allocations: 12.16 kB / 3.967 GB, free: 142.8 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002736/9.794, allocations: 417.4 kB / 3.967 GB, free: 142.7 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002191/9.796, allocations: 1.059 MB / 3.968 GB, free: 142.4 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.836e-05/9.796, allocations: 29.95 kB / 3.968 GB, free: 142.4 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001454/9.797, allocations: 51.03 kB / 3.968 GB, free: 142.4 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001432/9.798, allocations: 0.684 MB / 3.969 GB, free: 142.4 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001401/9.799, allocations: 0.6842 MB / 3.969 GB, free: 142.4 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.931e-05/9.799, allocations: 0 / 3.969 GB, free: 142.4 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.234e-05/9.8, allocations: 8.641 kB / 3.969 GB, free: 142.4 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.172e-05/9.8, allocations: 27.28 kB / 3.969 GB, free: 142.4 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.004879/9.804, allocations: 3.512 MB / 3.973 GB, free: 140.8 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001197/9.806, allocations: 1.038 MB / 3.974 GB, free: 140.2 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004036/9.806, allocations: 335 kB / 3.974 GB, free: 140.2 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007161/9.807, allocations: 408 kB / 3.975 GB, free: 139.9 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/9.807, allocations: 44.25 kB / 3.975 GB, free: 139.8 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=60): time 2.766e-06/9.807, allocations: 0 / 3.975 GB, free: 139.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=60): time 0.001699/9.809, allocations: 0.7106 MB / 3.975 GB, free: 139.7 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/9.809, allocations: 59.31 kB / 3.975 GB, free: 139.7 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008696/9.81, allocations: 0.5926 MB / 3.976 GB, free: 139.5 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.562e-05/9.81, allocations: 29.02 kB / 3.976 GB, free: 139.5 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004/9.81, allocations: 487.4 kB / 3.976 GB, free: 139.3 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002326/9.81, allocations: 205 kB / 3.977 GB, free: 139.2 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.951e-05/9.81, allocations: 3 kB / 3.977 GB, free: 139.2 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001178/9.81, allocations: 327.2 kB / 3.977 GB, free: 138.9 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000314/9.811, allocations: 212.9 kB / 3.977 GB, free: 138.9 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000409/9.811, allocations: 363.7 kB / 3.978 GB, free: 138.8 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006207/9.812, allocations: 342.9 kB / 3.978 GB, free: 138.8 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/9.812, allocations: 5.828 kB / 3.978 GB, free: 138.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001146/9.813, allocations: 0.7082 MB / 3.979 GB, free: 138.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001465/9.813, allocations: 459.1 kB / 3.979 GB, free: 138.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/9.813, allocations: 0 / 3.979 GB, free: 138.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.62e-05/9.813, allocations: 7.578 kB / 3.979 GB, free: 138.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005705/9.814, allocations: 133.7 kB / 3.979 GB, free: 138.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/9.814, allocations: 9.531 kB / 3.979 GB, free: 138.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001069/9.815, allocations: 107.6 kB / 3.979 GB, free: 138.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.7e-05/9.815, allocations: 29.39 kB / 3.979 GB, free: 138.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 7.624e-06/9.815, allocations: 3.375 kB / 3.979 GB, free: 138.2 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009959/9.816, allocations: 0.5764 MB / 3.98 GB, free: 138.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/9.816, allocations: 3.875 kB / 3.98 GB, free: 138.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.062e-06/9.816, allocations: 3.875 kB / 3.98 GB, free: 138.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005127/9.816, allocations: 137.5 kB / 3.98 GB, free: 138.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/9.816, allocations: 6.719 kB / 3.98 GB, free: 138.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008182/9.817, allocations: 114.2 kB / 3.98 GB, free: 138.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.964e-05/9.817, allocations: 20.09 kB / 3.98 GB, free: 138.2 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.0001736/9.818, allocations: 119.5 kB / 3.98 GB, free: 138.1 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000143/9.818, allocations: 100.4 kB / 3.98 GB, free: 138 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001409/9.819, allocations: 0.7409 MB / 3.981 GB, free: 138 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/9.819, allocations: 7.281 kB / 3.981 GB, free: 138 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/9.819, allocations: 0 / 3.981 GB, free: 138 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001048/9.82, allocations: 0.91 MB / 3.982 GB, free: 137.5 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003378/9.824, allocations: 2.086 MB / 3.984 GB, free: 136.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.765e-06/9.824, allocations: 2.688 kB / 3.984 GB, free: 136.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006477/9.824, allocations: 157.6 kB / 3.984 GB, free: 136.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.206e-05/9.824, allocations: 7.844 kB / 3.984 GB, free: 136.9 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.82e-05/9.824, allocations: 13.55 kB / 3.984 GB, free: 136.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.111e-06/9.824, allocations: 5.906 kB / 3.984 GB, free: 136.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.837e-06/9.824, allocations: 12.75 kB / 3.984 GB, free: 136.9 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00169/9.826, allocations: 1.325 MB / 3.985 GB, free: 136.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004397/9.827, allocations: 261.8 kB / 3.986 GB, free: 136.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001148/9.827, allocations: 7.172 kB / 3.986 GB, free: 136.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009283/9.828, allocations: 119.3 kB / 3.986 GB, free: 136.3 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001359/9.828, allocations: 57.31 kB / 3.986 GB, free: 136.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.584e-05/9.828, allocations: 19.22 kB / 3.986 GB, free: 136.3 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0006368/9.828, allocations: 477.8 kB / 3.986 GB, free: 136.2 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.41e-07/9.828, allocations: 0 / 3.986 GB, free: 136.2 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.00234/9.831, allocations: 0.6757 MB / 3.987 GB, free: 136.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 () * 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.004258/9.835, allocations: 2.589 MB / 3.99 GB, free: 135.3 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001537/9.837, allocations: 0.8537 MB / 3.99 GB, free: 135.3 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/9.837, allocations: 0 / 3.99 GB, free: 135.3 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0004378/9.837, allocations: 301.5 kB / 3.991 GB, free: 135.3 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003205/9.84, allocations: 0.6082 MB / 3.991 GB, free: 135.3 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003184/9.844, allocations: 1.698 MB / 3.993 GB, free: 134.8 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006913/9.844, allocations: 1.148 MB / 3.994 GB, free: 134 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001482/9.846, allocations: 353.2 kB / 3.994 GB, free: 134 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001961/9.846, allocations: 63.56 kB / 3.994 GB, free: 134 MB / 0.8855 GB Notification: Performance of SimCode: time 3.81e-07/9.846, allocations: 0 / 3.994 GB, free: 134 MB / 0.8855 GB Notification: Performance of Templates: time 0.05862/9.905, allocations: 32.19 MB / 4.026 GB, free: 132.9 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