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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00166/0.001661, allocations: 196.8 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.528/2.528, allocations: 390.2 MB / 0.6642 GB, free: 0.6602 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 63.91 kB / 0.8119 GB, free: 14.91 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8707/0.872, allocations: 140.4 MB / 0.9489 GB, free: 9.238 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.2819/1.154, allocations: 237.8 MB / 1.181 GB, free: 3.574 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01294/1.167, allocations: 7.285 MB / 1.188 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002556/1.169, allocations: 51.62 kB / 1.188 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.00269/1.172, allocations: 0.579 MB / 1.189 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.006463/1.179, allocations: 1.965 MB / 1.191 GB, free: 9.668 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.005615/1.184, allocations: 1.853 MB / 1.193 GB, free: 7.824 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.006262/1.191, allocations: 4.438 MB / 1.197 GB, free: 3.375 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001842/1.193, allocations: 0.9357 MB / 1.198 GB, free: 2.418 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004153/1.197, allocations: 1.591 MB / 1.199 GB, free: 0.8203 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002612/1.199, allocations: 0.9955 MB / 1.2 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0003716/1.2, allocations: 60 kB / 1.2 GB, free: 15.77 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006056/1.206, allocations: 2.833 MB / 1.203 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0007776/1.207, allocations: 406.7 kB / 1.204 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001571/1.208, allocations: 0.6568 MB / 1.204 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.006464/1.215, allocations: 2.777 MB / 1.207 GB, free: 9.082 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/1.215, allocations: 0 / 1.207 GB, free: 9.082 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.573e-06/1.215, allocations: 0 / 1.207 GB, free: 9.082 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.988e-05/1.215, allocations: 0 / 1.207 GB, free: 9.082 MB / 0.9669 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.005189/1.22, allocations: 1.709 MB / 1.209 GB, free: 7.316 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/1.22, allocations: 12.03 kB / 1.209 GB, free: 7.305 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00317/1.223, allocations: 418 kB / 1.209 GB, free: 6.895 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002609/1.226, allocations: 0.9599 MB / 1.21 GB, free: 5.891 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.132e-05/1.226, allocations: 65.94 kB / 1.21 GB, free: 5.828 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001963/1.226, allocations: 91.97 kB / 1.21 GB, free: 5.738 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001801/1.228, allocations: 0.8663 MB / 1.211 GB, free: 4.863 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.251e-05/1.228, allocations: 0 / 1.211 GB, free: 4.863 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.368e-05/1.228, allocations: 36 kB / 1.211 GB, free: 4.828 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.293e-05/1.228, allocations: 26 kB / 1.211 GB, free: 4.801 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001639/1.23, allocations: 0.8158 MB / 1.212 GB, free: 3.988 MB / 0.9669 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.006029/1.236, allocations: 3.623 MB / 1.215 GB, free: 72 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001699/1.238, allocations: 1.094 MB / 1.216 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006096/1.238, allocations: 374.3 kB / 1.217 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000747/1.239, allocations: 404.9 kB / 1.217 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.075e-05/1.239, allocations: 43.12 kB / 1.217 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=60): time 2.946e-06/1.239, allocations: 0 / 1.217 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of matching and sorting (n=60): time 0.002366/1.241, allocations: 0.9545 MB / 1.218 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/1.241, allocations: 63.89 kB / 1.218 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001098/1.243, allocations: 0.8361 MB / 1.219 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.168e-05/1.243, allocations: 37.7 kB / 1.219 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003845/1.243, allocations: 492.1 kB / 1.219 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002134/1.243, allocations: 208.9 kB / 1.22 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001953/1.243, allocations: 118.1 kB / 1.22 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001359/1.244, allocations: 322 kB / 1.22 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000515/1.244, allocations: 255 kB / 1.22 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006647/1.245, allocations: 367.5 kB / 1.221 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001064/1.246, allocations: 0.593 MB / 1.221 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/1.246, allocations: 0 / 1.221 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00145/1.247, allocations: 0.7398 MB / 1.222 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/1.247, allocations: 5.25 kB / 1.222 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/1.247, allocations: 4 kB / 1.222 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/1.247, allocations: 4 kB / 1.222 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006/1.248, allocations: 123.8 kB / 1.222 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/1.248, allocations: 4 kB / 1.222 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001021/1.249, allocations: 127.5 kB / 1.222 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.802e-05/1.249, allocations: 27.98 kB / 1.222 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009514/1.25, allocations: 497 kB / 1.223 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005784/1.251, allocations: 363.4 kB / 1.223 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009805/1.252, allocations: 0.5813 MB / 1.224 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.784e-06/1.252, allocations: 0 / 1.224 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001386/1.253, allocations: 0.7281 MB / 1.224 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/1.253, allocations: 4 kB / 1.224 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.815e-06/1.253, allocations: 0 / 1.224 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.891e-06/1.253, allocations: 4.188 kB / 1.224 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005479/1.254, allocations: 127.8 kB / 1.224 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/1.254, allocations: 12.06 kB / 1.225 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009196/1.255, allocations: 123.5 kB / 1.225 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.725e-05/1.255, allocations: 24 kB / 1.225 GB, free: 6.113 MB / 0.9825 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002124/1.255, allocations: 208.1 kB / 1.225 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000158/1.255, allocations: 102.7 kB / 1.225 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001461/1.256, allocations: 0.7509 MB / 1.226 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/1.256, allocations: 12 kB / 1.226 GB, free: 5.027 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/1.256, allocations: 0 / 1.226 GB, free: 5.027 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001332/1.258, allocations: 0.8995 MB / 1.227 GB, free: 4.043 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003938/1.262, allocations: 2.247 MB / 1.229 GB, free: 1.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.443e-06/1.262, allocations: 4 kB / 1.229 GB, free: 1.656 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007086/1.263, allocations: 135.8 kB / 1.229 GB, free: 1.523 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.865e-06/1.263, allocations: 4.406 kB / 1.229 GB, free: 1.52 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.946e-05/1.263, allocations: 20 kB / 1.229 GB, free: 1.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.36e-05/1.263, allocations: 11.94 kB / 1.229 GB, free: 1.488 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/1.263, allocations: 4 kB / 1.229 GB, free: 1.484 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002076/1.265, allocations: 1.225 MB / 1.23 GB, free: 208 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004823/1.265, allocations: 263.7 kB / 1.23 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001251/1.265, allocations: 12 kB / 1.23 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008248/1.266, allocations: 103.7 kB / 1.23 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001315/1.266, allocations: 52.25 kB / 1.231 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.833e-05/1.266, allocations: 20 kB / 1.231 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008357/1.267, allocations: 0.5862 MB / 1.231 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.71e-07/1.267, allocations: 0 / 1.231 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001406/1.269, allocations: 0.5377 MB / 1.232 GB, free: 14.61 MB / 0.9981 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 60 * 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.0005614/1.269, allocations: 245.4 kB / 1.232 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001864/1.271, allocations: 0.931 MB / 1.233 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/1.271, allocations: 4.5 kB / 1.233 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00061/1.272, allocations: 346.2 kB / 1.233 GB, free: 13.08 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002963/1.275, allocations: 0.617 MB / 1.234 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003593/1.278, allocations: 2.554 MB / 1.236 GB, free: 9.848 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007788/1.279, allocations: 1.124 MB / 1.237 GB, free: 8.695 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001162/1.28, allocations: 308.1 kB / 1.238 GB, free: 8.391 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002335/1.28, allocations: 75.42 kB / 1.238 GB, free: 8.316 MB / 0.9981 GB Notification: Performance of SimCode: time 9.32e-07/1.28, allocations: 0 / 1.238 GB, free: 8.316 MB / 0.9981 GB Notification: Performance of Templates: time 0.5786/1.859, allocations: 19.75 MB / 1.257 GB, free: 282.3 MB / 0.9981 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FixedResistances.Examples.FlowJunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches