Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FixedResistances.Examples.FlowJunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Fluid.FixedResistances.Examples.FlowJunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.452/2.452, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001194/0.001194, allocations: 188.5 kB / 487.4 MB, free: 5.035 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 221.5 MB / 0.7824 GB, free: 0.8828 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008837/0.0008836, allocations: 111.4 kB / 0.9219 GB, free: 2.117 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.064e-05/2.057e-05, allocations: 5.688 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.3077, allocations: 142.4 MB / 1.206 GB, free: 43.93 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.263/5.57, allocations: 1.927 GB / 3.133 GB, free: 424.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002384/5.571, allocations: 89.42 kB / 3.133 GB, free: 424.3 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.687/9.258, allocations: 0.9206 GB / 4.054 GB, free: 217.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.322e-06/9.258, allocations: 0 / 4.054 GB, free: 217.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002363/9.258, allocations: 40.77 kB / 4.054 GB, free: 217.8 MB / 1.151 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.006046/9.264, allocations: 1.531 MB / 4.055 GB, free: 217.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.218e-05/9.264, allocations: 12.64 kB / 4.055 GB, free: 217.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003562/9.268, allocations: 410.2 kB / 4.056 GB, free: 217.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003349/9.271, allocations: 1.084 MB / 4.057 GB, free: 216.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.838e-05/9.271, allocations: 27.48 kB / 4.057 GB, free: 216.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003449/9.272, allocations: 49.19 kB / 4.057 GB, free: 216.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001725/9.273, allocations: 0.6847 MB / 4.058 GB, free: 216.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001694/9.275, allocations: 0.6837 MB / 4.058 GB, free: 216.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.759e-05/9.275, allocations: 0 / 4.058 GB, free: 216.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-05/9.275, allocations: 7.188 kB / 4.058 GB, free: 216.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.602e-05/9.275, allocations: 27.47 kB / 4.058 GB, free: 216.9 MB / 1.151 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.00523/9.281, allocations: 3.5 MB / 4.062 GB, free: 215.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001121/9.282, allocations: 1.043 MB / 4.063 GB, free: 214.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004319/9.282, allocations: 323.2 kB / 4.063 GB, free: 214.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005757/9.283, allocations: 409.7 kB / 4.063 GB, free: 214.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.364e-05/9.283, allocations: 42.62 kB / 4.063 GB, free: 214.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=60): time 2.695e-06/9.283, allocations: 0 / 4.063 GB, free: 214.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=60): time 0.001625/9.284, allocations: 0.7181 MB / 4.064 GB, free: 214.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.206e-05/9.284, allocations: 66.81 kB / 4.064 GB, free: 214.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007276/9.285, allocations: 0.5959 MB / 4.065 GB, free: 214 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.744e-05/9.285, allocations: 29.05 kB / 4.065 GB, free: 214 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003192/9.286, allocations: 488.1 kB / 4.065 GB, free: 213.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001727/9.286, allocations: 205.9 kB / 4.066 GB, free: 213.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.78e-05/9.286, allocations: 0 / 4.066 GB, free: 213.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.336e-05/9.286, allocations: 327.6 kB / 4.066 GB, free: 213.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002908/9.286, allocations: 220.6 kB / 4.066 GB, free: 213.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000366/9.287, allocations: 351.3 kB / 4.066 GB, free: 213.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006186/9.287, allocations: 345.2 kB / 4.067 GB, free: 213.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/9.287, allocations: 0 / 4.067 GB, free: 213.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001173/9.288, allocations: 0.7184 MB / 4.067 GB, free: 213.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001491/9.289, allocations: 454.3 kB / 4.068 GB, free: 212.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/9.289, allocations: 6.281 kB / 4.068 GB, free: 212.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.799e-05/9.289, allocations: 7.672 kB / 4.068 GB, free: 212.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005975/9.289, allocations: 130.7 kB / 4.068 GB, free: 212.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/9.289, allocations: 7.812 kB / 4.068 GB, free: 212.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001106/9.29, allocations: 113.3 kB / 4.068 GB, free: 212.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.122e-05/9.29, allocations: 35.22 kB / 4.068 GB, free: 212.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/9.29, allocations: 3.969 kB / 4.068 GB, free: 212.8 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009876/9.291, allocations: 0.5883 MB / 4.069 GB, free: 212.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/9.291, allocations: 3.812 kB / 4.069 GB, free: 212.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.676e-06/9.291, allocations: 11.3 kB / 4.069 GB, free: 212.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005184/9.292, allocations: 128.9 kB / 4.069 GB, free: 212.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/9.292, allocations: 6.062 kB / 4.069 GB, free: 212.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009442/9.293, allocations: 120.2 kB / 4.069 GB, free: 212.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-05/9.293, allocations: 25.16 kB / 4.069 GB, free: 212.7 MB / 1.151 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.0001679/9.293, allocations: 115.8 kB / 4.069 GB, free: 212.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000154/9.293, allocations: 99.97 kB / 4.069 GB, free: 212.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001412/9.295, allocations: 0.7477 MB / 4.07 GB, free: 212.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/9.295, allocations: 6.188 kB / 4.07 GB, free: 212.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/9.295, allocations: 0.5625 kB / 4.07 GB, free: 212.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001018/9.296, allocations: 0.9149 MB / 4.071 GB, free: 212.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003454/9.299, allocations: 2.097 MB / 4.073 GB, free: 211.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/9.299, allocations: 3.812 kB / 4.073 GB, free: 211.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006757/9.3, allocations: 150.3 kB / 4.073 GB, free: 211.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.294e-05/9.3, allocations: 10.83 kB / 4.073 GB, free: 211.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.588e-05/9.3, allocations: 10.91 kB / 4.073 GB, free: 211.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.823e-06/9.3, allocations: 5.281 kB / 4.073 GB, free: 211.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.206e-06/9.3, allocations: 7.531 kB / 4.073 GB, free: 211.5 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001711/9.302, allocations: 1.307 MB / 4.074 GB, free: 210.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004923/9.302, allocations: 251 kB / 4.075 GB, free: 210.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001152/9.302, allocations: 6.344 kB / 4.075 GB, free: 210.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009238/9.303, allocations: 120.7 kB / 4.075 GB, free: 210.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/9.304, allocations: 51.25 kB / 4.075 GB, free: 210.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.101e-05/9.304, allocations: 32.67 kB / 4.075 GB, free: 210.8 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0006079/9.304, allocations: 475.5 kB / 4.075 GB, free: 210.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.61e-07/9.304, allocations: 0 / 4.075 GB, free: 210.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002107/9.306, allocations: 0.6788 MB / 4.076 GB, free: 210.6 MB / 1.151 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.003726/9.31, allocations: 2.588 MB / 4.078 GB, free: 209.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001463/9.312, allocations: 0.863 MB / 4.079 GB, free: 209.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/9.312, allocations: 3.25 kB / 4.079 GB, free: 209.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004075/9.312, allocations: 300.6 kB / 4.08 GB, free: 209.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003255/9.315, allocations: 0.6053 MB / 4.08 GB, free: 209.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002869/9.318, allocations: 1.695 MB / 4.082 GB, free: 209.2 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005721/9.319, allocations: 1.155 MB / 4.083 GB, free: 208.5 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001434/9.32, allocations: 349.8 kB / 4.083 GB, free: 208.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001875/9.32, allocations: 68.67 kB / 4.083 GB, free: 208.5 MB / 1.151 GB Notification: Performance of SimCode: time 9.82e-07/9.32, allocations: 0 / 4.083 GB, free: 208.5 MB / 1.151 GB Notification: Performance of Templates: time 0.05067/9.371, allocations: 32.09 MB / 4.115 GB, free: 207.4 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.FixedResistances.Examples.FlowJunction.makefile (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Examples.FlowJunction.sim & ./Buildings_9_Buildings.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FixedResistances.Examples.FlowJunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FixedResistances_Examples_FlowJunction.csv","../files/Buildings_9_Buildings.Fluid.FixedResistances.Examples.FlowJunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches