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.476/1.476, allocations: 249.5 MB / 257 MB, free: 7.012 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.001093/0.001093, allocations: 188.2 kB / 316.3 MB, free: 3.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.696/1.696, allocations: 205.3 MB / 0.5671 GB, free: 15.86 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.00104/0.00104, allocations: 88.92 kB / 0.6714 GB, free: 4.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.443e-05/1.436e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2372/0.2372, allocations: 106.3 MB / 0.8852 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.917/6.155, allocations: 2.201 GB / 3.086 GB, free: 164.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003248/6.155, allocations: 96 kB / 3.086 GB, free: 164.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.515/8.671, allocations: 0.7556 GB / 3.842 GB, free: 68.07 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.563e-06/8.671, allocations: 4 kB / 3.842 GB, free: 68.07 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.185e-05/8.671, allocations: 23.98 kB / 3.842 GB, free: 68.05 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.00267/8.673, allocations: 1.218 MB / 3.843 GB, free: 66.79 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/8.673, allocations: 8.562 kB / 3.843 GB, free: 66.78 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001686/8.675, allocations: 286.2 kB / 3.843 GB, free: 66.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00145/8.677, allocations: 0.7537 MB / 3.844 GB, free: 65.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/8.677, allocations: 16 kB / 3.844 GB, free: 65.69 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.045e-05/8.677, allocations: 32 kB / 3.844 GB, free: 65.66 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007464/8.677, allocations: 0.5337 MB / 3.844 GB, free: 65.12 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007402/8.678, allocations: 0.5036 MB / 3.845 GB, free: 64.61 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/8.678, allocations: 0 / 3.845 GB, free: 64.61 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.238e-05/8.678, allocations: 4 kB / 3.845 GB, free: 64.61 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.426e-05/8.678, allocations: 12.52 kB / 3.845 GB, free: 64.6 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.003011/8.681, allocations: 2.555 MB / 3.847 GB, free: 61.82 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007894/8.682, allocations: 493.9 kB / 3.848 GB, free: 61.34 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003333/8.682, allocations: 305.5 kB / 3.848 GB, free: 61.04 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006224/8.683, allocations: 404.7 kB / 3.849 GB, free: 60.57 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/8.683, allocations: 38.94 kB / 3.849 GB, free: 60.52 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000872/8.684, allocations: 287.4 kB / 3.849 GB, free: 60.24 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=45): time 2.775e-06/8.684, allocations: 0 / 3.849 GB, free: 60.24 MB / 0.8698 GB Notification: Performance of matching and sorting (n=45): time 0.001717/8.686, allocations: 0.7603 MB / 3.85 GB, free: 59.47 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/8.686, allocations: 55.41 kB / 3.85 GB, free: 59.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004886/8.686, allocations: 467.7 kB / 3.85 GB, free: 58.94 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.744e-05/8.686, allocations: 29.2 kB / 3.85 GB, free: 58.91 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002065/8.687, allocations: 348.8 kB / 3.85 GB, free: 58.56 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001292/8.687, allocations: 153.7 kB / 3.851 GB, free: 58.41 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.961e-05/8.687, allocations: 0 / 3.851 GB, free: 58.41 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001194/8.687, allocations: 378.8 kB / 3.851 GB, free: 58.03 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002509/8.687, allocations: 212.8 kB / 3.851 GB, free: 57.82 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003291/8.687, allocations: 331.8 kB / 3.851 GB, free: 57.45 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005342/8.688, allocations: 324.4 kB / 3.852 GB, free: 57.14 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/8.688, allocations: 4 kB / 3.852 GB, free: 57.14 MB / 0.8698 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00119/8.689, allocations: 0.7496 MB / 3.853 GB, free: 56.38 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.165e-05/8.689, allocations: 273.4 kB / 3.853 GB, free: 56.09 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/8.689, allocations: 4 kB / 3.853 GB, free: 56.08 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002035/8.69, allocations: 56.83 kB / 3.853 GB, free: 56.02 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00046/8.69, allocations: 91.86 kB / 3.853 GB, free: 55.93 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004655/8.69, allocations: 0.6421 MB / 3.854 GB, free: 55.27 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006346/8.691, allocations: 71.81 kB / 3.854 GB, free: 55.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.256e-05/8.691, allocations: 23.98 kB / 3.854 GB, free: 55.17 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.009e-05/8.691, allocations: 4 kB / 3.854 GB, free: 55.17 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001053/8.692, allocations: 0.616 MB / 3.854 GB, free: 54.55 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.026e-06/8.692, allocations: 0 / 3.854 GB, free: 54.55 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00017/8.692, allocations: 64.8 kB / 3.854 GB, free: 54.48 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004264/8.693, allocations: 91.88 kB / 3.854 GB, free: 54.39 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00146/8.694, allocations: 1.665 MB / 3.856 GB, free: 52.62 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005813/8.695, allocations: 59.94 kB / 3.856 GB, free: 52.56 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.079e-05/8.695, allocations: 27.97 kB / 3.856 GB, free: 52.53 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.0001378/8.695, allocations: 112.9 kB / 3.856 GB, free: 52.41 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.806e-05/8.695, allocations: 75.02 kB / 3.856 GB, free: 52.34 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00139/8.697, allocations: 0.7772 MB / 3.857 GB, free: 51.55 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/8.697, allocations: 4 kB / 3.857 GB, free: 51.55 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/8.697, allocations: 0 / 3.857 GB, free: 51.55 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/8.697, allocations: 0 / 3.857 GB, free: 51.55 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002246/8.699, allocations: 1.604 MB / 3.859 GB, free: 49.86 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/8.699, allocations: 8 kB / 3.859 GB, free: 49.85 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004095/8.699, allocations: 88.3 kB / 3.859 GB, free: 49.77 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000101/8.7, allocations: 56.83 kB / 3.859 GB, free: 49.71 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.394e-05/8.7, allocations: 4 kB / 3.859 GB, free: 49.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002701/8.7, allocations: 0.6069 MB / 3.859 GB, free: 49.07 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/8.7, allocations: 7.953 kB / 3.859 GB, free: 49.06 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001359/8.701, allocations: 1.243 MB / 3.861 GB, free: 47.68 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002338/8.701, allocations: 204 kB / 3.861 GB, free: 47.46 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.306e-05/8.702, allocations: 4 kB / 3.861 GB, free: 47.46 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006549/8.702, allocations: 79.75 kB / 3.861 GB, free: 47.38 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.188e-05/8.702, allocations: 51.83 kB / 3.861 GB, free: 47.33 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.231e-05/8.702, allocations: 19.94 kB / 3.861 GB, free: 47.31 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.000336/8.703, allocations: 359.2 kB / 3.861 GB, free: 46.96 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/8.703, allocations: 4 kB / 3.861 GB, free: 46.96 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001618/8.704, allocations: 0.5188 MB / 3.862 GB, free: 46.44 MB / 0.8698 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.003558/8.708, allocations: 2.39 MB / 3.864 GB, free: 43.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001533/8.709, allocations: 0.9136 MB / 3.865 GB, free: 42.97 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/8.709, allocations: 4 kB / 3.865 GB, free: 42.96 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003747/8.71, allocations: 264.6 kB / 3.865 GB, free: 42.71 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0025/8.712, allocations: 474.1 kB / 3.866 GB, free: 42.25 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00482/8.717, allocations: 1.468 MB / 3.867 GB, free: 40.72 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004127/8.718, allocations: 0.9935 MB / 3.868 GB, free: 39.7 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001172/8.719, allocations: 253.4 kB / 3.868 GB, free: 39.45 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001683/8.719, allocations: 59.36 kB / 3.868 GB, free: 39.39 MB / 0.8698 GB Notification: Performance of SimCode: time 1.052e-06/8.719, allocations: 0 / 3.868 GB, free: 39.39 MB / 0.8698 GB Notification: Performance of Templates: time 0.03541/8.754, allocations: 27.38 MB / 3.895 GB, free: 12.18 MB / 0.8698 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