Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001332/0.001332, allocations: 116.8 kB / 16.81 MB, free: 5.77 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.001303/0.001303, allocations: 199.2 kB / 17.77 MB, free: 5.117 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.556/1.556, allocations: 225.6 MB / 244.2 MB, free: 13.89 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.876/2.876, allocations: 476.7 MB / 0.7556 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 63.38 kB / 1.097 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3878/0.3898, allocations: 168.7 MB / 1.262 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.2904/0.6802, allocations: 240.8 MB / 1.497 GB, free: 11.24 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01434/0.6945, allocations: 7.219 MB / 1.504 GB, free: 4.008 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001916/0.6964, allocations: 51.69 kB / 1.504 GB, free: 3.957 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.002132/0.6986, allocations: 0.7417 MB / 1.505 GB, free: 3.211 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.005641/0.7042, allocations: 2.154 MB / 1.507 GB, free: 1.051 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.005675/0.7099, allocations: 2.079 MB / 1.509 GB, free: 14.98 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.005463/0.7154, allocations: 3.293 MB / 1.512 GB, free: 11.68 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001803/0.7172, allocations: 0.9305 MB / 1.513 GB, free: 10.72 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004604/0.7218, allocations: 1.86 MB / 1.515 GB, free: 8.855 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00239/0.7242, allocations: 1.02 MB / 1.516 GB, free: 7.836 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0002963/0.7244, allocations: 127.9 kB / 1.516 GB, free: 7.711 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005378/0.7298, allocations: 2.619 MB / 1.519 GB, free: 5.086 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0006652/0.7305, allocations: 486.5 kB / 1.519 GB, free: 4.609 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.001133/0.7316, allocations: 0.7194 MB / 1.52 GB, free: 3.887 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.005892/0.7375, allocations: 2.683 MB / 1.523 GB, free: 1.195 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/0.7375, allocations: 0 / 1.523 GB, free: 1.195 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.794e-06/0.7375, allocations: 0 / 1.523 GB, free: 1.195 MB / 1.232 GB Notification: Performance of Transformations before backend: time 3.618e-05/0.7376, allocations: 0 / 1.523 GB, free: 1.195 MB / 1.232 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.00376/0.7413, allocations: 1.754 MB / 1.524 GB, free: 15.38 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 5.32e-05/0.7414, allocations: 15.97 kB / 1.524 GB, free: 15.37 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002783/0.7442, allocations: 426.7 kB / 1.525 GB, free: 14.95 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002136/0.7463, allocations: 1.031 MB / 1.526 GB, free: 13.88 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.954e-05/0.7464, allocations: 58 kB / 1.526 GB, free: 13.82 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001637/0.7465, allocations: 87.95 kB / 1.526 GB, free: 13.73 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001726/0.7482, allocations: 0.8624 MB / 1.527 GB, free: 12.86 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.015e-05/0.7483, allocations: 0 / 1.527 GB, free: 12.86 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.13e-05/0.7484, allocations: 39.98 kB / 1.527 GB, free: 12.82 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.986e-05/0.7484, allocations: 26 kB / 1.527 GB, free: 12.8 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001568/0.75, allocations: 0.8158 MB / 1.528 GB, free: 11.98 MB / 1.248 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.005654/0.7556, allocations: 3.644 MB / 1.531 GB, free: 8.047 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001664/0.7573, allocations: 1.074 MB / 1.532 GB, free: 6.859 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006233/0.7579, allocations: 347.5 kB / 1.532 GB, free: 6.52 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007507/0.7587, allocations: 404.9 kB / 1.533 GB, free: 6.051 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.295e-05/0.7587, allocations: 43.12 kB / 1.533 GB, free: 6 MB / 1.248 GB Notification: Performance of pre-optimization done (n=60): time 3.827e-06/0.7587, allocations: 0 / 1.533 GB, free: 6 MB / 1.248 GB Notification: Performance of matching and sorting (n=60): time 0.002304/0.761, allocations: 0.959 MB / 1.534 GB, free: 5.035 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.398e-05/0.7611, allocations: 59.97 kB / 1.534 GB, free: 4.965 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001222/0.7623, allocations: 0.84 MB / 1.535 GB, free: 4.102 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 7.905e-05/0.7624, allocations: 45.58 kB / 1.535 GB, free: 4.051 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004766/0.7629, allocations: 488.8 kB / 1.535 GB, free: 3.566 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002394/0.7631, allocations: 226 kB / 1.535 GB, free: 3.344 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001987/0.7633, allocations: 110.2 kB / 1.536 GB, free: 3.23 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.7634, allocations: 326 kB / 1.536 GB, free: 2.906 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005216/0.764, allocations: 259 kB / 1.536 GB, free: 2.652 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006553/0.7646, allocations: 363.5 kB / 1.536 GB, free: 2.262 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001102/0.7657, allocations: 0.593 MB / 1.537 GB, free: 1.652 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.7657, allocations: 0 / 1.537 GB, free: 1.652 MB / 1.248 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00148/0.7672, allocations: 0.7481 MB / 1.538 GB, free: 0.8984 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.7672, allocations: 4 kB / 1.538 GB, free: 0.8945 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.7672, allocations: 4 kB / 1.538 GB, free: 0.8906 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.447e-05/0.7673, allocations: 4 kB / 1.538 GB, free: 0.8867 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006109/0.7679, allocations: 127.8 kB / 1.538 GB, free: 0.7617 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/0.7679, allocations: 4.125 kB / 1.538 GB, free: 0.7578 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008276/0.7687, allocations: 79.58 kB / 1.538 GB, free: 0.6797 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-05/0.7688, allocations: 20 kB / 1.538 GB, free: 0.6602 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008818/0.7696, allocations: 0.4893 MB / 1.538 GB, free: 172 kB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006197/0.7703, allocations: 363.5 kB / 1.539 GB, free: 15.77 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001037/0.7713, allocations: 0.5773 MB / 1.539 GB, free: 15.18 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.703e-06/0.7713, allocations: 0 / 1.539 GB, free: 15.18 MB / 1.264 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001418/0.7727, allocations: 0.7287 MB / 1.54 GB, free: 14.45 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.7727, allocations: 7.938 kB / 1.54 GB, free: 14.44 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.7727, allocations: 4 kB / 1.54 GB, free: 14.43 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.015e-06/0.7728, allocations: 4 kB / 1.54 GB, free: 14.43 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005584/0.7733, allocations: 123.8 kB / 1.54 GB, free: 14.31 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.7733, allocations: 7.984 kB / 1.54 GB, free: 14.3 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007599/0.7741, allocations: 63.78 kB / 1.54 GB, free: 14.24 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.074e-05/0.7741, allocations: 27.98 kB / 1.54 GB, free: 14.21 MB / 1.264 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.0002334/0.7744, allocations: 212.7 kB / 1.541 GB, free: 14 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001805/0.7745, allocations: 107.3 kB / 1.541 GB, free: 13.89 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001573/0.7761, allocations: 0.7354 MB / 1.541 GB, free: 13.15 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00128/0.7774, allocations: 0.9111 MB / 1.542 GB, free: 12.16 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.7774, allocations: 0 / 1.542 GB, free: 12.16 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004587/0.7779, allocations: 252.3 kB / 1.542 GB, free: 11.89 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001261/0.778, allocations: 19.98 kB / 1.543 GB, free: 11.87 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006407/0.7786, allocations: 35.97 kB / 1.543 GB, free: 11.84 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001169/0.7787, allocations: 44.44 kB / 1.543 GB, free: 11.79 MB / 1.264 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001815/0.7806, allocations: 0.7991 MB / 1.543 GB, free: 10.99 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002049/0.7826, allocations: 1.252 MB / 1.545 GB, free: 9.719 MB / 1.264 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005442/0.7832, allocations: 296.5 kB / 1.545 GB, free: 9.43 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0009214/0.7841, allocations: 0.5862 MB / 1.545 GB, free: 8.832 MB / 1.264 GB Notification: Performance of Backend: time 5.01e-07/0.7841, allocations: 7.938 kB / 1.545 GB, free: 8.824 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.0036/0.7877, allocations: 1.224 MB / 1.547 GB, free: 7.602 MB / 1.264 GB Notification: Performance of SimCode: time 0.005393/0.7931, allocations: 2.835 MB / 1.549 GB, free: 4.719 MB / 1.264 GB Notification: Performance of Templates: time 0.8236/1.617, allocations: 28.06 MB / 1.577 GB, free: 286.9 MB / 1.264 GB make -j1 -f Buildings_11_Buildings.Fluid.FixedResistances.Examples.FlowJunction.makefile (rm -f Buildings_11_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo Buildings_11_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/Buildings_11_Buildings.Fluid.FixedResistances.Examples.FlowJunction.sim & ./Buildings_11_Buildings.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.FixedResistances.Examples.FlowJunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FixedResistances_Examples_FlowJunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.FixedResistances.Examples.FlowJunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches