Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.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.Validation.FlowJunctionSteadyState,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.Validation.FlowJunctionSteadyState") translateModel(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState,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.Validation.FlowJunctionSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.414/1.414, allocations: 249.3 MB / 261.8 MB, free: 6.004 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.001119/0.001119, allocations: 182 kB / 321.3 MB, free: 14.64 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.457/1.457, allocations: 205.2 MB / 0.572 GB, free: 10.56 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.0008648/0.0008648, allocations: 86.47 kB / 0.6764 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.286e-05/3.289e-05, allocations: 4 kB / 0.7879 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2322/0.2323, allocations: 106.3 MB / 0.8918 GB, free: 6.656 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.146/6.378, allocations: 2.2 GB / 3.092 GB, free: 129 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002871/6.378, allocations: 84.52 kB / 3.092 GB, free: 129 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.586/8.964, allocations: 0.7645 GB / 3.857 GB, free: 17.79 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.152e-06/8.964, allocations: 0 / 3.857 GB, free: 17.79 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001217/8.964, allocations: 24 kB / 3.857 GB, free: 17.76 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.003313/8.967, allocations: 1.208 MB / 3.858 GB, free: 16.51 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/8.967, allocations: 8.031 kB / 3.858 GB, free: 16.5 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001996/8.97, allocations: 282.2 kB / 3.858 GB, free: 16.23 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00197/8.971, allocations: 0.7572 MB / 3.859 GB, free: 15.42 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.158e-05/8.972, allocations: 41 kB / 3.859 GB, free: 15.38 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001479/8.972, allocations: 52 kB / 3.859 GB, free: 15.33 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001041/8.973, allocations: 0.5726 MB / 3.86 GB, free: 14.75 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/8.973, allocations: 0 / 3.86 GB, free: 14.75 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.014e-05/8.973, allocations: 20.52 kB / 3.86 GB, free: 14.73 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/8.973, allocations: 15.95 kB / 3.86 GB, free: 14.71 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008427/8.974, allocations: 0.5545 MB / 3.86 GB, free: 14.16 MB / 0.8698 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.003713/8.977, allocations: 2.661 MB / 3.863 GB, free: 11.27 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007927/8.978, allocations: 491.9 kB / 3.863 GB, free: 10.78 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003608/8.979, allocations: 326 kB / 3.864 GB, free: 10.46 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005449/8.979, allocations: 400.7 kB / 3.864 GB, free: 9.992 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/8.979, allocations: 42.88 kB / 3.864 GB, free: 9.941 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001003/8.98, allocations: 307.2 kB / 3.864 GB, free: 9.641 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=45): time 6.332e-06/8.98, allocations: 0 / 3.864 GB, free: 9.641 MB / 0.8698 GB Notification: Performance of matching and sorting (n=45): time 0.001393/8.982, allocations: 0.705 MB / 3.865 GB, free: 8.926 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.34e-05/8.982, allocations: 55.41 kB / 3.865 GB, free: 8.859 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006241/8.982, allocations: 0.5547 MB / 3.866 GB, free: 8.301 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.923e-05/8.982, allocations: 37.7 kB / 3.866 GB, free: 8.258 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001872/8.983, allocations: 345 kB / 3.866 GB, free: 7.918 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001104/8.983, allocations: 157.7 kB / 3.866 GB, free: 7.762 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.838e-05/8.983, allocations: 8 kB / 3.866 GB, free: 7.754 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.024e-05/8.983, allocations: 325.9 kB / 3.866 GB, free: 7.43 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002818/8.983, allocations: 220.8 kB / 3.867 GB, free: 7.215 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003532/8.983, allocations: 344.6 kB / 3.867 GB, free: 6.836 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003271/8.984, allocations: 253.5 kB / 3.867 GB, free: 6.586 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/8.984, allocations: 0 / 3.867 GB, free: 6.586 MB / 0.8698 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009864/8.985, allocations: 0.695 MB / 3.868 GB, free: 5.883 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 7.783e-05/8.985, allocations: 280.8 kB / 3.868 GB, free: 5.586 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/8.985, allocations: 0 / 3.868 GB, free: 5.586 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00023/8.985, allocations: 70.2 kB / 3.868 GB, free: 5.516 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004488/8.986, allocations: 91.88 kB / 3.868 GB, free: 5.426 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003853/8.986, allocations: 0.6304 MB / 3.869 GB, free: 4.77 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007463/8.987, allocations: 75.89 kB / 3.869 GB, free: 4.695 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.801e-05/8.987, allocations: 19.98 kB / 3.869 GB, free: 4.676 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/8.987, allocations: 4 kB / 3.869 GB, free: 4.672 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008558/8.988, allocations: 0.5926 MB / 3.87 GB, free: 4.078 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-06/8.988, allocations: 0 / 3.87 GB, free: 4.078 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001845/8.988, allocations: 68.81 kB / 3.87 GB, free: 4.008 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004456/8.988, allocations: 95.94 kB / 3.87 GB, free: 3.914 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00139/8.99, allocations: 1.709 MB / 3.871 GB, free: 2.074 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007307/8.991, allocations: 75.88 kB / 3.872 GB, free: 2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.9e-05/8.991, allocations: 27.97 kB / 3.872 GB, free: 1.973 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 42 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001485/8.991, allocations: 132.8 kB / 3.872 GB, free: 1.836 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000132/8.991, allocations: 75.06 kB / 3.872 GB, free: 1.762 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001282/8.992, allocations: 0.7465 MB / 3.872 GB, free: 1 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/8.992, allocations: 8 kB / 3.872 GB, free: 0.9922 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/8.992, allocations: 0 / 3.872 GB, free: 0.9922 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/8.992, allocations: 3.984 kB / 3.872 GB, free: 0.9883 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002694/8.995, allocations: 1.672 MB / 3.874 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/8.995, allocations: 0 / 3.874 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004566/8.995, allocations: 96.23 kB / 3.874 GB, free: 15.12 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000169/8.996, allocations: 60.83 kB / 3.874 GB, free: 15.06 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.333e-05/8.996, allocations: 15.98 kB / 3.874 GB, free: 15.04 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003905/8.996, allocations: 0.5992 MB / 3.875 GB, free: 14.42 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/8.996, allocations: 4 kB / 3.875 GB, free: 14.41 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001605/8.998, allocations: 1.238 MB / 3.876 GB, free: 13.04 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004506/8.998, allocations: 212 kB / 3.876 GB, free: 12.81 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001471/8.998, allocations: 16 kB / 3.876 GB, free: 12.79 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008009/8.999, allocations: 87.81 kB / 3.876 GB, free: 12.71 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/8.999, allocations: 43.88 kB / 3.876 GB, free: 12.66 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-05/8.999, allocations: 20 kB / 3.876 GB, free: 12.64 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0006262/9, allocations: 451.1 kB / 3.877 GB, free: 12.21 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.81e-07/9, allocations: 0 / 3.877 GB, free: 12.21 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002209/9.002, allocations: 0.6049 MB / 3.877 GB, free: 11.61 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (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 (45): * Single equations (assignments): 44 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.003454/9.006, allocations: 2.115 MB / 3.88 GB, free: 9.344 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001826/9.007, allocations: 0.9633 MB / 3.88 GB, free: 8.363 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.259e-06/9.007, allocations: 4.25 kB / 3.88 GB, free: 8.359 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0004858/9.008, allocations: 283.5 kB / 3.881 GB, free: 8.082 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002837/9.011, allocations: 0.5024 MB / 3.881 GB, free: 7.574 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005207/9.016, allocations: 1.508 MB / 3.883 GB, free: 6 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006712/9.017, allocations: 0.991 MB / 3.884 GB, free: 4.98 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.00144/9.018, allocations: 293.9 kB / 3.884 GB, free: 4.691 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000224/9.018, allocations: 59.42 kB / 3.884 GB, free: 4.633 MB / 0.8855 GB Notification: Performance of SimCode: time 9.62e-07/9.018, allocations: 0 / 3.884 GB, free: 4.633 MB / 0.8855 GB Notification: Performance of Templates: time 0.6316/9.65, allocations: 47.55 MB / 3.93 GB, free: 151.5 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyState.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches