Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.FlowJunction,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_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction") translateModel(Buildings.Fluid.FixedResistances.Examples.FlowJunction,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_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.397/2.397, allocations: 390.3 MB / 402.8 MB, free: 6.699 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 176.9 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.664/1.664, allocations: 221.3 MB / 0.7915 GB, free: 5.414 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 84.03 kB / 0.9317 GB, free: 5.73 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.328e-05/4.332e-05, allocations: 8 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3557/0.3558, allocations: 143 MB / 1.219 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.36/5.716, allocations: 1.929 GB / 3.147 GB, free: 385.5 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000225/5.716, allocations: 87.95 kB / 3.148 GB, free: 385.4 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.484/9.199, allocations: 0.9307 GB / 4.078 GB, free: 224 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.984e-06/9.2, allocations: 0 / 4.078 GB, free: 224 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002349/9.2, allocations: 43.44 kB / 4.078 GB, free: 224 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.00479/9.205, allocations: 1.533 MB / 4.08 GB, free: 223.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/9.205, allocations: 7.156 kB / 4.08 GB, free: 223.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003238/9.208, allocations: 414.6 kB / 4.08 GB, free: 223.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003183/9.211, allocations: 1.073 MB / 4.081 GB, free: 222.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.823e-05/9.211, allocations: 69.41 kB / 4.081 GB, free: 222.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003144/9.212, allocations: 83.28 kB / 4.081 GB, free: 222.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001912/9.213, allocations: 0.8003 MB / 4.082 GB, free: 222.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.645e-05/9.214, allocations: 0 / 4.082 GB, free: 222.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001104/9.214, allocations: 30.41 kB / 4.082 GB, free: 222.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.233e-05/9.214, allocations: 29.59 kB / 4.082 GB, free: 222.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00135/9.215, allocations: 0.7187 MB / 4.083 GB, free: 222.9 MB / 1.167 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.005453/9.22, allocations: 3.667 MB / 4.086 GB, free: 221.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001286/9.222, allocations: 1.064 MB / 4.088 GB, free: 220.7 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004471/9.222, allocations: 350.8 kB / 4.088 GB, free: 220.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005823/9.223, allocations: 401.8 kB / 4.088 GB, free: 220.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/9.223, allocations: 38.47 kB / 4.088 GB, free: 220.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=60): time 2.605e-06/9.223, allocations: 0 / 4.088 GB, free: 220.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=60): time 0.001548/9.224, allocations: 0.6749 MB / 4.089 GB, free: 220.2 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/9.225, allocations: 59.59 kB / 4.089 GB, free: 220.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001157/9.226, allocations: 0.7068 MB / 4.09 GB, free: 220 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 9.134e-05/9.226, allocations: 42.64 kB / 4.09 GB, free: 219.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003208/9.226, allocations: 488.4 kB / 4.09 GB, free: 219.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001898/9.226, allocations: 209.2 kB / 4.09 GB, free: 219.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.029e-05/9.226, allocations: 10.19 kB / 4.09 GB, free: 219.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.985e-05/9.226, allocations: 335.2 kB / 4.091 GB, free: 219.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003307/9.227, allocations: 224.9 kB / 4.091 GB, free: 219.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004385/9.227, allocations: 368.8 kB / 4.091 GB, free: 219.3 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004235/9.228, allocations: 280.5 kB / 4.092 GB, free: 219.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/9.228, allocations: 0 / 4.092 GB, free: 219.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001108/9.229, allocations: 0.6879 MB / 4.092 GB, free: 219.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001206/9.229, allocations: 460.7 kB / 4.093 GB, free: 218.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/9.229, allocations: 3.5 kB / 4.093 GB, free: 218.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.076e-05/9.229, allocations: 5.469 kB / 4.093 GB, free: 218.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005934/9.23, allocations: 133.8 kB / 4.093 GB, free: 218.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.53e-05/9.23, allocations: 7.125 kB / 4.093 GB, free: 218.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001211/9.231, allocations: 147 kB / 4.093 GB, free: 218.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.71e-05/9.231, allocations: 22 kB / 4.093 GB, free: 218.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/9.231, allocations: 3.688 kB / 4.093 GB, free: 218.7 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00083/9.232, allocations: 0.5725 MB / 4.094 GB, free: 218.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.838e-06/9.232, allocations: 0 / 4.094 GB, free: 218.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.064e-06/9.232, allocations: 3.094 kB / 4.094 GB, free: 218.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005307/9.232, allocations: 137.4 kB / 4.094 GB, free: 218.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.707e-06/9.232, allocations: 3.812 kB / 4.094 GB, free: 218.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001106/9.233, allocations: 137.7 kB / 4.094 GB, free: 218.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.994e-05/9.234, allocations: 26.69 kB / 4.094 GB, free: 218.6 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 69 * 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.0001641/9.234, allocations: 137.6 kB / 4.094 GB, free: 218.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002107/9.234, allocations: 110.6 kB / 4.094 GB, free: 218.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001273/9.235, allocations: 0.731 MB / 4.095 GB, free: 218.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/9.235, allocations: 5.469 kB / 4.095 GB, free: 218.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.096e-06/9.235, allocations: 3.953 kB / 4.095 GB, free: 218.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008581/9.236, allocations: 0.8835 MB / 4.096 GB, free: 218 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003704/9.24, allocations: 2.186 MB / 4.098 GB, free: 217.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/9.24, allocations: 6.938 kB / 4.098 GB, free: 217.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006562/9.24, allocations: 148.4 kB / 4.098 GB, free: 217.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.441e-05/9.24, allocations: 7.75 kB / 4.098 GB, free: 217.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.715e-05/9.241, allocations: 21.05 kB / 4.098 GB, free: 217.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.658e-06/9.241, allocations: 10.84 kB / 4.098 GB, free: 217.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.162e-06/9.241, allocations: 10.64 kB / 4.098 GB, free: 217.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001506/9.242, allocations: 1.292 MB / 4.099 GB, free: 216.8 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005629/9.243, allocations: 258.6 kB / 4.099 GB, free: 216.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002052/9.243, allocations: 24.12 kB / 4.099 GB, free: 216.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001137/9.244, allocations: 133.9 kB / 4.1 GB, free: 216.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/9.244, allocations: 46.91 kB / 4.1 GB, free: 216.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.417e-05/9.244, allocations: 28.58 kB / 4.1 GB, free: 216.7 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0007814/9.245, allocations: 0.5592 MB / 4.1 GB, free: 216.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.2e-07/9.245, allocations: 0 / 4.1 GB, free: 216.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002647/9.248, allocations: 0.7661 MB / 4.101 GB, free: 216.5 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (spl.vol.dynBal.medium.Xi[1],spl.vol.dynBal.U,spl.vol.dynBal.m,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 (63): * Single equations (assignments): 63 * 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.003884/9.252, allocations: 2.322 MB / 4.103 GB, free: 215.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001601/9.253, allocations: 0.9044 MB / 4.104 GB, free: 215.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.254e-06/9.253, allocations: 0 / 4.104 GB, free: 215.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005269/9.254, allocations: 324.3 kB / 4.104 GB, free: 215.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003763/9.258, allocations: 0.6641 MB / 4.105 GB, free: 215.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003592/9.261, allocations: 1.753 MB / 4.107 GB, free: 215.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008164/9.262, allocations: 1.149 MB / 4.108 GB, free: 214.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001831/9.264, allocations: 379.8 kB / 4.108 GB, free: 214.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002444/9.264, allocations: 67.59 kB / 4.108 GB, free: 214.4 MB / 1.167 GB Notification: Performance of SimCode: time 7.91e-07/9.264, allocations: 3.156 kB / 4.108 GB, free: 214.4 MB / 1.167 GB Notification: Performance of Templates: time 0.07374/9.338, allocations: 53.89 MB / 4.161 GB, free: 210.8 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Examples_FlowJunction.csv","../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches