Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.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.FlowJunctionSteadyStateNoPressureDrop,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.FlowJunctionSteadyStateNoPressureDrop") translateModel(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop,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.FlowJunctionSteadyStateNoPressureDrop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.451/1.451, allocations: 249.5 MB / 257 MB, free: 6.828 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.001137/0.001137, allocations: 180.8 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.607/1.607, allocations: 205.3 MB / 0.5671 GB, free: 15.9 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.0008375/0.0008375, allocations: 96.41 kB / 0.6714 GB, free: 5.023 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.899e-05/1.901e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.2367, allocations: 106.3 MB / 0.8852 GB, free: 12.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.645/5.882, allocations: 2.201 GB / 3.087 GB, free: 205.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002554/5.882, allocations: 89.59 kB / 3.087 GB, free: 205.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.665/8.547, allocations: 0.7524 GB / 3.839 GB, free: 102.7 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.475e-06/8.547, allocations: 4 kB / 3.839 GB, free: 102.7 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.324e-05/8.547, allocations: 23.44 kB / 3.839 GB, free: 102.6 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: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.002456/8.55, allocations: 1.185 MB / 3.84 GB, free: 101.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/8.55, allocations: 16.5 kB / 3.84 GB, free: 101.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001567/8.551, allocations: 280.2 kB / 3.84 GB, free: 101.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001331/8.553, allocations: 0.7471 MB / 3.841 GB, free: 100.4 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.275e-05/8.553, allocations: 16 kB / 3.841 GB, free: 100.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.356e-05/8.553, allocations: 40 kB / 3.841 GB, free: 100.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007807/8.554, allocations: 0.518 MB / 3.842 GB, free: 99.79 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007281/8.554, allocations: 0.492 MB / 3.842 GB, free: 99.29 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/8.554, allocations: 0 / 3.842 GB, free: 99.29 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.972e-05/8.554, allocations: 0 / 3.842 GB, free: 99.29 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.232e-05/8.554, allocations: 12 kB / 3.842 GB, free: 99.28 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.003352/8.558, allocations: 2.806 MB / 3.845 GB, free: 96.27 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003974/8.558, allocations: 359.1 kB / 3.845 GB, free: 95.91 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002473/8.558, allocations: 248.5 kB / 3.846 GB, free: 95.66 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005947/8.559, allocations: 404 kB / 3.846 GB, free: 95.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/8.559, allocations: 30.89 kB / 3.846 GB, free: 95.16 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008094/8.56, allocations: 254.9 kB / 3.846 GB, free: 94.91 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=39): time 2.234e-06/8.56, allocations: 0 / 3.846 GB, free: 94.91 MB / 0.8698 GB Notification: Performance of matching and sorting (n=39): time 0.001238/8.561, allocations: 0.5885 MB / 3.847 GB, free: 94.32 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.349e-05/8.561, allocations: 59.39 kB / 3.847 GB, free: 94.25 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004462/8.562, allocations: 451.7 kB / 3.847 GB, free: 93.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.836e-05/8.562, allocations: 29.7 kB / 3.847 GB, free: 93.77 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002205/8.562, allocations: 368.5 kB / 3.848 GB, free: 93.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 8.807e-05/8.562, allocations: 130 kB / 3.848 GB, free: 93.27 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.999e-05/8.562, allocations: 0 / 3.848 GB, free: 93.27 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001071/8.562, allocations: 374.8 kB / 3.848 GB, free: 92.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002383/8.562, allocations: 168.7 kB / 3.848 GB, free: 92.73 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003155/8.563, allocations: 291.2 kB / 3.849 GB, free: 92.41 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005675/8.563, allocations: 271.7 kB / 3.849 GB, free: 92.14 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/8.563, allocations: 0 / 3.849 GB, free: 92.14 MB / 0.8698 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001011/8.564, allocations: 0.5876 MB / 3.849 GB, free: 91.55 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/8.564, allocations: 4 kB / 3.849 GB, free: 91.54 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/8.564, allocations: 0 / 3.849 GB, free: 91.54 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.22e-05/8.564, allocations: 4 kB / 3.849 GB, free: 91.54 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005893/8.565, allocations: 107.8 kB / 3.85 GB, free: 91.43 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.513e-05/8.565, allocations: 8.109 kB / 3.85 GB, free: 91.43 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006564/8.566, allocations: 63.78 kB / 3.85 GB, free: 91.36 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.695e-05/8.566, allocations: 23.98 kB / 3.85 GB, free: 91.34 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 46 * 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.0001243/8.566, allocations: 116.1 kB / 3.85 GB, free: 91.22 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/8.566, allocations: 71.09 kB / 3.85 GB, free: 91.15 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001266/8.567, allocations: 0.6055 MB / 3.85 GB, free: 90.54 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/8.567, allocations: 4 kB / 3.85 GB, free: 90.53 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/8.567, allocations: 0 / 3.85 GB, free: 90.53 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/8.567, allocations: 3.953 kB / 3.85 GB, free: 90.53 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002245/8.57, allocations: 1.405 MB / 3.852 GB, free: 89.05 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/8.57, allocations: 8 kB / 3.852 GB, free: 89.04 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004308/8.57, allocations: 87.89 kB / 3.852 GB, free: 88.96 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.094e-06/8.57, allocations: 4.406 kB / 3.852 GB, free: 88.95 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.112e-05/8.57, allocations: 11.98 kB / 3.852 GB, free: 88.94 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/8.57, allocations: 8 kB / 3.852 GB, free: 88.93 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/8.57, allocations: 7.938 kB / 3.852 GB, free: 88.93 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001186/8.571, allocations: 1.135 MB / 3.853 GB, free: 87.65 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001943/8.572, allocations: 188.2 kB / 3.853 GB, free: 87.45 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.569e-05/8.572, allocations: 4 kB / 3.853 GB, free: 87.45 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005141/8.572, allocations: 51.89 kB / 3.853 GB, free: 87.39 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.723e-05/8.572, allocations: 43.23 kB / 3.853 GB, free: 87.36 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-05/8.572, allocations: 16 kB / 3.853 GB, free: 87.34 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0003397/8.573, allocations: 359.2 kB / 3.854 GB, free: 87 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/8.573, allocations: 0 / 3.854 GB, free: 87 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001116/8.574, allocations: 339.5 kB / 3.854 GB, free: 86.66 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 (42): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002799/8.577, allocations: 2.343 MB / 3.856 GB, free: 84.43 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0005827/8.577, allocations: 431.4 kB / 3.857 GB, free: 84.01 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/8.577, allocations: 0 / 3.857 GB, free: 84.01 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002678/8.578, allocations: 229.2 kB / 3.857 GB, free: 83.79 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001816/8.579, allocations: 389.4 kB / 3.857 GB, free: 83.41 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004559/8.584, allocations: 1.427 MB / 3.859 GB, free: 81.92 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003792/8.584, allocations: 0.9764 MB / 3.86 GB, free: 80.91 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0007116/8.585, allocations: 161.2 kB / 3.86 GB, free: 80.75 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002/8.585, allocations: 55.42 kB / 3.86 GB, free: 80.7 MB / 0.8698 GB Notification: Performance of SimCode: time 1.032e-06/8.585, allocations: 0 / 3.86 GB, free: 80.7 MB / 0.8698 GB Notification: Performance of Templates: time 0.03342/8.619, allocations: 23.35 MB / 3.883 GB, free: 57.55 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches