Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 169 kB / 23.02 MB, free: 1.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8973/0.8973, allocations: 177.1 MB / 203.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.956/1.956, allocations: 429.5 MB / 0.6732 GB, free: 4.039 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop") translateModel(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 0.8782 GB, free: 6.336 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.067e-05/2.192e-05, allocations: 6.25 kB / 0.8782 GB, free: 6.328 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop): time 0.13/0.13, allocations: 154.1 MB / 1.029 GB, free: 11.7 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.008782/0.1388, allocations: 6.128 MB / 1.035 GB, free: 5.562 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008438/0.1396, allocations: 79.31 kB / 1.035 GB, free: 5.484 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006864/0.1403, allocations: 253.9 kB / 1.035 GB, free: 5.234 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001473/0.1418, allocations: 0.8738 MB / 1.036 GB, free: 4.355 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002365/0.1442, allocations: 1.41 MB / 1.037 GB, free: 2.941 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.002005/0.1462, allocations: 2.04 MB / 1.039 GB, free: 0.8945 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009204/0.1471, allocations: 0.7193 MB / 1.04 GB, free: 168 kB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001369/0.1485, allocations: 1.134 MB / 1.041 GB, free: 15.03 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007688/0.1492, allocations: 0.6153 MB / 1.042 GB, free: 14.41 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001206/0.1494, allocations: 76 kB / 1.042 GB, free: 14.34 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005847/0.1499, allocations: 359.2 kB / 1.042 GB, free: 13.98 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0002623/0.1502, allocations: 334.9 kB / 1.042 GB, free: 13.66 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0003482/0.1505, allocations: 367.1 kB / 1.043 GB, free: 13.3 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0008469/0.1514, allocations: 0.9615 MB / 1.044 GB, free: 12.33 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1514, allocations: 0 / 1.044 GB, free: 12.33 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.243e-06/0.1514, allocations: 0 / 1.044 GB, free: 12.33 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.032e-05/0.1514, allocations: 4 kB / 1.044 GB, free: 12.33 MB / 1.01 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.001236/0.1526, allocations: 1.307 MB / 1.045 GB, free: 10.98 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.1527, allocations: 8.031 kB / 1.045 GB, free: 10.97 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008903/0.1536, allocations: 390.4 kB / 1.045 GB, free: 10.59 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007345/0.1543, allocations: 0.7541 MB / 1.046 GB, free: 9.797 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.738e-05/0.1543, allocations: 45 kB / 1.046 GB, free: 9.754 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.926e-05/0.1544, allocations: 64 kB / 1.046 GB, free: 9.691 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000516/0.1549, allocations: 402.2 kB / 1.046 GB, free: 9.297 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.1549, allocations: 0 / 1.046 GB, free: 9.297 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.729e-05/0.155, allocations: 23.98 kB / 1.047 GB, free: 9.273 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.155, allocations: 15.94 kB / 1.047 GB, free: 9.258 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004005/0.1554, allocations: 281.8 kB / 1.047 GB, free: 8.98 MB / 1.01 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.002008/0.1574, allocations: 1.789 MB / 1.049 GB, free: 7.141 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002758/0.1577, allocations: 215.9 kB / 1.049 GB, free: 6.918 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001474/0.1578, allocations: 124.3 kB / 1.049 GB, free: 6.793 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001993/0.158, allocations: 56.59 kB / 1.049 GB, free: 6.738 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.158, allocations: 49.27 kB / 1.049 GB, free: 6.68 MB / 1.01 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003618/0.1584, allocations: 159.6 kB / 1.049 GB, free: 6.523 MB / 1.01 GB Notification: Performance of pre-optimization done (n=39): time 1.683e-06/0.1584, allocations: 0 / 1.049 GB, free: 6.523 MB / 1.01 GB Notification: Performance of matching and sorting (n=39): time 0.0007264/0.1591, allocations: 492.7 kB / 1.05 GB, free: 6.035 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.543e-05/0.1591, allocations: 55.41 kB / 1.05 GB, free: 5.969 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004824/0.1596, allocations: 0.6674 MB / 1.05 GB, free: 5.285 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 3.835e-05/0.1597, allocations: 37.7 kB / 1.05 GB, free: 5.242 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002234/0.1599, allocations: 451.6 kB / 1.051 GB, free: 4.793 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001056/0.16, allocations: 142.8 kB / 1.051 GB, free: 4.652 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001331/0.1601, allocations: 151.9 kB / 1.051 GB, free: 4.496 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.1602, allocations: 0.4964 MB / 1.052 GB, free: 3.992 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001524/0.1604, allocations: 101.2 kB / 1.052 GB, free: 3.891 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003383/0.1607, allocations: 0.6163 MB / 1.052 GB, free: 3.082 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005141/0.1612, allocations: 0.5673 MB / 1.053 GB, free: 2.375 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.1612, allocations: 4 kB / 1.053 GB, free: 2.371 MB / 1.01 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0006144/0.1619, allocations: 0.5627 MB / 1.053 GB, free: 1.801 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.1619, allocations: 8 kB / 1.053 GB, free: 1.793 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.1619, allocations: 11.94 kB / 1.053 GB, free: 1.781 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.1619, allocations: 15.94 kB / 1.053 GB, free: 1.766 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000335/0.1622, allocations: 143.8 kB / 1.053 GB, free: 1.625 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.298e-05/0.1623, allocations: 20.48 kB / 1.054 GB, free: 1.605 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002292/0.1625, allocations: 31.98 kB / 1.054 GB, free: 1.574 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.604e-05/0.1625, allocations: 35.98 kB / 1.054 GB, free: 1.539 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (73): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000145/0.1627, allocations: 196.4 kB / 1.054 GB, free: 1.336 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.641e-05/0.1628, allocations: 103.3 kB / 1.054 GB, free: 1.234 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005166/0.1633, allocations: 437.3 kB / 1.054 GB, free: 0.7969 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.1633, allocations: 4 kB / 1.054 GB, free: 0.793 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.1633, allocations: 0 / 1.054 GB, free: 0.793 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.1633, allocations: 0 / 1.054 GB, free: 0.793 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4002/0.5635, allocations: 1.115 MB / 1.055 GB, free: 76.72 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.5635, allocations: 2.625 kB / 1.055 GB, free: 76.72 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002924/0.5638, allocations: 76.53 kB / 1.055 GB, free: 76.72 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.665e-06/0.5638, allocations: 5.938 kB / 1.055 GB, free: 76.72 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.684e-05/0.5638, allocations: 15.59 kB / 1.055 GB, free: 76.72 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.815e-06/0.5638, allocations: 15.3 kB / 1.055 GB, free: 76.72 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.5638, allocations: 2.875 kB / 1.055 GB, free: 76.72 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007338/0.5646, allocations: 0.7115 MB / 1.056 GB, free: 76.38 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001854/0.5647, allocations: 122.8 kB / 1.056 GB, free: 76.38 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.763e-05/0.5648, allocations: 12.61 kB / 1.056 GB, free: 76.38 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002178/0.565, allocations: 19.11 kB / 1.056 GB, free: 76.38 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.249e-05/0.5651, allocations: 42.25 kB / 1.056 GB, free: 76.38 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-05/0.5651, allocations: 14.55 kB / 1.056 GB, free: 76.38 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002679/0.5654, allocations: 431 kB / 1.057 GB, free: 76.24 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.5654, allocations: 0 / 1.057 GB, free: 76.24 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0005293/0.5659, allocations: 223.5 kB / 1.057 GB, free: 76.24 MB / 1.01 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 (42): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002041/0.5661, allocations: 145.2 kB / 1.057 GB, free: 76.16 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0004236/0.5665, allocations: 355.9 kB / 1.057 GB, free: 76.14 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.5665, allocations: 0 / 1.057 GB, free: 76.14 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001513/0.5667, allocations: 156.7 kB / 1.058 GB, free: 76.13 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009117/0.5676, allocations: 389.4 kB / 1.058 GB, free: 76.12 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002919/0.5705, allocations: 1.787 MB / 1.06 GB, free: 75.36 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001049/0.5706, allocations: 184 kB / 1.06 GB, free: 75.28 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0003333/0.571, allocations: 152.1 kB / 1.06 GB, free: 75.27 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/0.5711, allocations: 64.11 kB / 1.06 GB, free: 75.27 MB / 1.01 GB Notification: Performance of SimCode: time 1.012e-06/0.5711, allocations: 0.9062 kB / 1.06 GB, free: 75.27 MB / 1.01 GB Notification: Performance of Templates: time 0.01451/0.5856, allocations: 14.53 MB / 1.074 GB, free: 74.12 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.920885036233813]