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/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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001545/0.001545, allocations: 111.3 kB / 16.42 MB, free: 6.469 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.00153/0.00153, allocations: 187.9 kB / 17.35 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.274/2.274, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.823/3.823, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 67.84 kB / 1.055 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.144/1.145, allocations: 157.4 MB / 1.208 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.3045/1.45, allocations: 239.9 MB / 1.443 GB, free: 12.9 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01373/1.464, allocations: 7.197 MB / 1.45 GB, free: 5.695 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002175/1.466, allocations: 51.69 kB / 1.45 GB, free: 5.645 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.002463/1.468, allocations: 0.7026 MB / 1.45 GB, free: 4.938 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.00732/1.476, allocations: 2.073 MB / 1.452 GB, free: 2.855 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.008409/1.484, allocations: 2.04 MB / 1.454 GB, free: 0.8242 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.007476/1.492, allocations: 3.277 MB / 1.458 GB, free: 13.54 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003333/1.495, allocations: 1.126 MB / 1.459 GB, free: 12.39 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005666/1.501, allocations: 1.814 MB / 1.461 GB, free: 10.56 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002604/1.503, allocations: 0.9649 MB / 1.461 GB, free: 9.594 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0004324/1.504, allocations: 124 kB / 1.462 GB, free: 9.473 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006001/1.51, allocations: 2.49 MB / 1.464 GB, free: 6.977 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0007801/1.511, allocations: 458.7 kB / 1.464 GB, free: 6.527 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001448/1.512, allocations: 0.7232 MB / 1.465 GB, free: 5.801 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.005516/1.518, allocations: 2.68 MB / 1.468 GB, free: 3.113 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/1.518, allocations: 3.938 kB / 1.468 GB, free: 3.109 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.804e-06/1.518, allocations: 0 / 1.468 GB, free: 3.109 MB / 1.186 GB Notification: Performance of Transformations before backend: time 5.826e-05/1.518, allocations: 0 / 1.468 GB, free: 3.109 MB / 1.186 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.003505/1.521, allocations: 1.697 MB / 1.469 GB, free: 1.359 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/1.521, allocations: 16.03 kB / 1.469 GB, free: 1.344 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002943/1.524, allocations: 429.9 kB / 1.47 GB, free: 0.9219 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00186/1.526, allocations: 1.022 MB / 1.471 GB, free: 15.85 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.457e-05/1.526, allocations: 66 kB / 1.471 GB, free: 15.79 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001527/1.526, allocations: 83.91 kB / 1.471 GB, free: 15.7 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001576/1.528, allocations: 0.8663 MB / 1.472 GB, free: 14.83 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.165e-05/1.528, allocations: 0 / 1.472 GB, free: 14.83 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.583e-05/1.528, allocations: 32 kB / 1.472 GB, free: 14.8 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.472e-05/1.528, allocations: 26 kB / 1.472 GB, free: 14.78 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001482/1.53, allocations: 0.812 MB / 1.473 GB, free: 13.96 MB / 1.201 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.00485/1.534, allocations: 3.642 MB / 1.476 GB, free: 10.03 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001488/1.536, allocations: 1.097 MB / 1.477 GB, free: 8.816 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005757/1.537, allocations: 370.3 kB / 1.478 GB, free: 8.453 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000682/1.537, allocations: 408.9 kB / 1.478 GB, free: 7.98 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/1.537, allocations: 46.98 kB / 1.478 GB, free: 7.926 MB / 1.201 GB Notification: Performance of pre-optimization done (n=60): time 2.084e-06/1.537, allocations: 0 / 1.478 GB, free: 7.926 MB / 1.201 GB Notification: Performance of matching and sorting (n=60): time 0.002084/1.539, allocations: 0.9546 MB / 1.479 GB, free: 6.969 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.568e-05/1.539, allocations: 59.95 kB / 1.479 GB, free: 6.898 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/1.541, allocations: 0.84 MB / 1.48 GB, free: 6.035 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 6.817e-05/1.541, allocations: 37.7 kB / 1.48 GB, free: 5.992 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003425/1.541, allocations: 484.1 kB / 1.48 GB, free: 5.512 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001899/1.541, allocations: 216.8 kB / 1.481 GB, free: 5.297 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001826/1.541, allocations: 110.2 kB / 1.481 GB, free: 5.184 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001079/1.541, allocations: 326 kB / 1.481 GB, free: 4.859 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004739/1.542, allocations: 262.9 kB / 1.481 GB, free: 4.598 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005777/1.543, allocations: 359.5 kB / 1.482 GB, free: 4.211 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001025/1.544, allocations: 0.593 MB / 1.482 GB, free: 3.605 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/1.544, allocations: 0 / 1.482 GB, free: 3.605 MB / 1.201 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00133/1.545, allocations: 0.7398 MB / 1.483 GB, free: 2.855 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/1.545, allocations: 5.094 kB / 1.483 GB, free: 2.852 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/1.545, allocations: 0 / 1.483 GB, free: 2.852 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/1.545, allocations: 4 kB / 1.483 GB, free: 2.848 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00057/1.546, allocations: 127.8 kB / 1.483 GB, free: 2.723 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.308e-05/1.546, allocations: 8.125 kB / 1.483 GB, free: 2.715 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007512/1.546, allocations: 63.48 kB / 1.483 GB, free: 2.652 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.425e-05/1.546, allocations: 31.98 kB / 1.483 GB, free: 2.621 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007724/1.547, allocations: 493 kB / 1.484 GB, free: 2.137 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005572/1.548, allocations: 363.5 kB / 1.484 GB, free: 1.746 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009763/1.549, allocations: 0.5812 MB / 1.485 GB, free: 1.152 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.084e-06/1.549, allocations: 0 / 1.485 GB, free: 1.152 MB / 1.201 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001281/1.55, allocations: 0.7204 MB / 1.485 GB, free: 432 kB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/1.55, allocations: 11.94 kB / 1.485 GB, free: 420 kB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/1.55, allocations: 192 / 1.485 GB, free: 420 kB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/1.55, allocations: 7.938 kB / 1.485 GB, free: 412 kB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005544/1.551, allocations: 127.8 kB / 1.485 GB, free: 284 kB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/1.551, allocations: 7.984 kB / 1.485 GB, free: 276 kB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007388/1.551, allocations: 63.66 kB / 1.485 GB, free: 212 kB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-05/1.551, allocations: 27.98 kB / 1.485 GB, free: 184 kB / 1.201 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.0001968/1.552, allocations: 208.2 kB / 1.486 GB, free: 15.96 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001797/1.552, allocations: 106.7 kB / 1.486 GB, free: 15.86 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001362/1.553, allocations: 0.7393 MB / 1.487 GB, free: 15.12 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001154/1.554, allocations: 0.9033 MB / 1.487 GB, free: 14.13 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/1.554, allocations: 0 / 1.487 GB, free: 14.13 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004399/1.555, allocations: 255.7 kB / 1.488 GB, free: 13.86 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001427/1.555, allocations: 15.98 kB / 1.488 GB, free: 13.84 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006373/1.556, allocations: 35.95 kB / 1.488 GB, free: 13.81 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/1.556, allocations: 40.52 kB / 1.488 GB, free: 13.77 MB / 1.217 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001634/1.557, allocations: 0.7952 MB / 1.489 GB, free: 12.97 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001851/1.559, allocations: 1.244 MB / 1.49 GB, free: 11.71 MB / 1.217 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004951/1.56, allocations: 324.4 kB / 1.49 GB, free: 11.39 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0007693/1.561, allocations: 0.5784 MB / 1.491 GB, free: 10.8 MB / 1.217 GB Notification: Performance of Backend: time 3.81e-07/1.561, allocations: 0 / 1.491 GB, free: 10.8 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.003109/1.564, allocations: 1.28 MB / 1.492 GB, free: 9.527 MB / 1.217 GB Notification: Performance of SimCode: time 0.005512/1.569, allocations: 2.812 MB / 1.495 GB, free: 6.664 MB / 1.217 GB Notification: Performance of Templates: time 0.3428/1.912, allocations: 28.11 MB / 1.522 GB, free: 10.82 MB / 1.248 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches