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.357/1.357, 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.001012/0.001012, allocations: 176.9 kB / 326.5 MB, free: 2.281 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.622/1.622, allocations: 205.4 MB / 0.5775 GB, free: 20.57 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.0009225/0.0009225, allocations: 87.22 kB / 0.6821 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003439/0.0003438, allocations: 8.938 kB / 0.7962 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2106/0.211, allocations: 106.3 MB / 0.9001 GB, free: 64.49 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.195/4.406, allocations: 2.2 GB / 3.101 GB, free: 19.89 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002818/4.407, allocations: 95.94 kB / 3.101 GB, free: 19.8 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.14/7.547, allocations: 0.7653 GB / 3.866 GB, free: 159 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.473e-06/7.547, allocations: 0 / 3.866 GB, free: 159 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001451/7.547, allocations: 27.56 kB / 3.866 GB, free: 159 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.004383/7.552, allocations: 1.371 MB / 3.867 GB, free: 158.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/7.552, allocations: 7.719 kB / 3.867 GB, free: 158.5 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002008/7.554, allocations: 279.2 kB / 3.868 GB, free: 158.5 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002243/7.556, allocations: 0.7599 MB / 3.868 GB, free: 158.2 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.6e-05/7.556, allocations: 44.38 kB / 3.868 GB, free: 158.2 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001739/7.556, allocations: 51.44 kB / 3.868 GB, free: 158.2 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001195/7.557, allocations: 0.6131 MB / 3.869 GB, free: 158.2 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/7.558, allocations: 3.906 kB / 3.869 GB, free: 158.2 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.122e-05/7.558, allocations: 22.81 kB / 3.869 GB, free: 158.2 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/7.558, allocations: 14.89 kB / 3.869 GB, free: 158.2 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001097/7.559, allocations: 0.6298 MB / 3.87 GB, free: 158.2 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.004159/7.563, allocations: 2.662 MB / 3.872 GB, free: 156.9 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000959/7.564, allocations: 0.5229 MB / 3.873 GB, free: 156.9 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005607/7.564, allocations: 403.8 kB / 3.873 GB, free: 156.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/7.564, allocations: 38.06 kB / 3.873 GB, free: 156.5 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001063/7.566, allocations: 310.2 kB / 3.873 GB, free: 156.5 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=45): time 5.22e-06/7.566, allocations: 3.828 kB / 3.873 GB, free: 156.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=45): time 0.002461/7.568, allocations: 1.169 MB / 3.875 GB, free: 156.3 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.012e-05/7.568, allocations: 57.28 kB / 3.875 GB, free: 156.2 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007715/7.569, allocations: 0.5632 MB / 3.875 GB, free: 156.1 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.2e-05/7.569, allocations: 38.8 kB / 3.875 GB, free: 156.1 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002297/7.569, allocations: 344.3 kB / 3.876 GB, free: 156 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001336/7.569, allocations: 158.3 kB / 3.876 GB, free: 155.9 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.037e-05/7.569, allocations: 7.438 kB / 3.876 GB, free: 155.9 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 6.556e-05/7.569, allocations: 325.6 kB / 3.876 GB, free: 155.6 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004153/7.57, allocations: 257.3 kB / 3.876 GB, free: 155.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005063/7.57, allocations: 381.4 kB / 3.877 GB, free: 155.4 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004547/7.571, allocations: 295.4 kB / 3.877 GB, free: 155.4 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/7.571, allocations: 3.906 kB / 3.877 GB, free: 155.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001362/7.572, allocations: 0.7577 MB / 3.878 GB, free: 155.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001014/7.572, allocations: 279.2 kB / 3.878 GB, free: 155.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/7.572, allocations: 0 / 3.878 GB, free: 155.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002621/7.573, allocations: 74.67 kB / 3.878 GB, free: 155.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004986/7.573, allocations: 97.69 kB / 3.878 GB, free: 155.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004302/7.574, allocations: 0.6261 MB / 3.879 GB, free: 154.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008753/7.574, allocations: 67.98 kB / 3.879 GB, free: 154.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.132e-05/7.575, allocations: 32.34 kB / 3.879 GB, free: 154.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/7.575, allocations: 6.5 kB / 3.879 GB, free: 154.5 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001181/7.576, allocations: 0.6592 MB / 3.879 GB, free: 154.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.845e-06/7.576, allocations: 0 / 3.879 GB, free: 154.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001878/7.576, allocations: 61.53 kB / 3.88 GB, free: 154.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004778/7.576, allocations: 106.8 kB / 3.88 GB, free: 154.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001631/7.578, allocations: 1.729 MB / 3.881 GB, free: 153.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008404/7.579, allocations: 74.05 kB / 3.881 GB, free: 153.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.077e-05/7.579, allocations: 21.62 kB / 3.881 GB, free: 153.2 MB / 0.8855 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 () * Number of clocked 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.0004691/7.579, allocations: 296.7 kB / 3.882 GB, free: 153 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001704/7.58, allocations: 75.47 kB / 3.882 GB, free: 153 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001623/7.581, allocations: 0.8234 MB / 3.883 GB, free: 152.9 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.156e-06/7.581, allocations: 6.656 kB / 3.883 GB, free: 152.9 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/7.581, allocations: 5.625 kB / 3.883 GB, free: 152.9 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/7.581, allocations: 0 / 3.883 GB, free: 152.9 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003073/7.584, allocations: 1.731 MB / 3.884 GB, free: 152.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/7.584, allocations: 3.844 kB / 3.884 GB, free: 152.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004658/7.585, allocations: 98.94 kB / 3.884 GB, free: 152.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001812/7.585, allocations: 61.38 kB / 3.884 GB, free: 152.4 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.709e-05/7.585, allocations: 16.03 kB / 3.884 GB, free: 152.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003309/7.586, allocations: 0.6087 MB / 3.885 GB, free: 151.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/7.586, allocations: 3.156 kB / 3.885 GB, free: 151.9 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001806/7.587, allocations: 1.337 MB / 3.886 GB, free: 151.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004508/7.588, allocations: 207.4 kB / 3.887 GB, free: 151.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001511/7.588, allocations: 16.81 kB / 3.887 GB, free: 151.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008281/7.589, allocations: 90.66 kB / 3.887 GB, free: 151.3 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001301/7.589, allocations: 49.73 kB / 3.887 GB, free: 151.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.443e-05/7.589, allocations: 17.56 kB / 3.887 GB, free: 151.3 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0006268/7.59, allocations: 464.7 kB / 3.887 GB, free: 151.2 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.51e-07/7.59, allocations: 0 / 3.887 GB, free: 151.2 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002384/7.592, allocations: 0.598 MB / 3.888 GB, free: 151.1 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 () * Number of clocked 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.003483/7.596, allocations: 2.118 MB / 3.89 GB, free: 150.4 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002063/7.598, allocations: 1.05 MB / 3.891 GB, free: 150.3 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/7.598, allocations: 0 / 3.891 GB, free: 150.3 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0005905/7.598, allocations: 320.4 kB / 3.891 GB, free: 150.3 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002579/7.601, allocations: 0.5055 MB / 3.892 GB, free: 150.3 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005606/7.606, allocations: 2.072 MB / 3.894 GB, free: 149.4 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005225/7.607, allocations: 0.9921 MB / 3.895 GB, free: 148.8 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001183/7.608, allocations: 228.1 kB / 3.895 GB, free: 148.7 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002752/7.608, allocations: 63.42 kB / 3.895 GB, free: 148.7 MB / 0.8855 GB Notification: Performance of SimCode: time 1.002e-06/7.608, allocations: 0 / 3.895 GB, free: 148.7 MB / 0.8855 GB Notification: Performance of Templates: time 0.05716/7.666, allocations: 40.74 MB / 3.935 GB, free: 147.3 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