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.007596/0.007596, allocations: 97 kB / 15.73 MB, free: 6.484 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.001908/0.001908, allocations: 192 kB / 16.67 MB, free: 6.391 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.521/1.521, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.163/3.163, allocations: 469.8 MB / 0.7425 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 63.91 kB / 1.065 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4037/0.4049, allocations: 159.1 MB / 1.221 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 1.155/1.56, allocations: 240.5 MB / 1.455 GB, free: 4.652 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01393/1.574, allocations: 7.213 MB / 1.462 GB, free: 13.42 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002636/1.576, allocations: 51.69 kB / 1.463 GB, free: 13.37 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.00293/1.579, allocations: 0.7299 MB / 1.463 GB, free: 12.64 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.008388/1.588, allocations: 2.163 MB / 1.465 GB, free: 10.47 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.006324/1.594, allocations: 2.063 MB / 1.467 GB, free: 8.414 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.005795/1.6, allocations: 3.281 MB / 1.471 GB, free: 5.125 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002183/1.602, allocations: 0.9311 MB / 1.471 GB, free: 4.172 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004999/1.607, allocations: 1.849 MB / 1.473 GB, free: 2.316 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002479/1.609, allocations: 0.9719 MB / 1.474 GB, free: 1.344 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.000515/1.61, allocations: 120 kB / 1.474 GB, free: 1.227 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005542/1.615, allocations: 2.494 MB / 1.477 GB, free: 14.73 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0008709/1.616, allocations: 474.5 kB / 1.477 GB, free: 14.26 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001764/1.618, allocations: 0.7194 MB / 1.478 GB, free: 13.54 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.00712/1.625, allocations: 2.683 MB / 1.481 GB, free: 10.85 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 9.187e-06/1.625, allocations: 8 kB / 1.481 GB, free: 10.84 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.205e-06/1.625, allocations: 0 / 1.481 GB, free: 10.84 MB / 1.17 GB Notification: Performance of Transformations before backend: time 8.479e-05/1.625, allocations: 0 / 1.481 GB, free: 10.84 MB / 1.17 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.005106/1.63, allocations: 1.757 MB / 1.482 GB, free: 9.027 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/1.63, allocations: 8.031 kB / 1.482 GB, free: 9.02 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003191/1.634, allocations: 426.7 kB / 1.483 GB, free: 8.602 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002336/1.636, allocations: 1.039 MB / 1.484 GB, free: 7.52 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.435e-05/1.636, allocations: 62 kB / 1.484 GB, free: 7.461 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002047/1.636, allocations: 83.95 kB / 1.484 GB, free: 7.379 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001904/1.638, allocations: 0.8702 MB / 1.485 GB, free: 6.504 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.732e-05/1.638, allocations: 8 kB / 1.485 GB, free: 6.496 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.158e-05/1.638, allocations: 28 kB / 1.485 GB, free: 6.469 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.506e-05/1.638, allocations: 30 kB / 1.485 GB, free: 6.438 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001736/1.64, allocations: 0.8042 MB / 1.486 GB, free: 5.633 MB / 1.17 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.006057/1.646, allocations: 3.651 MB / 1.489 GB, free: 1.688 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001682/1.648, allocations: 1.064 MB / 1.49 GB, free: 0.5117 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006381/1.648, allocations: 351.1 kB / 1.49 GB, free: 172 kB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008228/1.649, allocations: 408.8 kB / 1.491 GB, free: 15.7 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.715e-05/1.649, allocations: 51.03 kB / 1.491 GB, free: 15.64 MB / 1.186 GB Notification: Performance of pre-optimization done (n=60): time 3.286e-06/1.649, allocations: 0 / 1.491 GB, free: 15.64 MB / 1.186 GB Notification: Performance of matching and sorting (n=60): time 0.002426/1.652, allocations: 0.9629 MB / 1.492 GB, free: 14.67 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.789e-05/1.652, allocations: 59.95 kB / 1.492 GB, free: 14.6 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001379/1.653, allocations: 0.8361 MB / 1.493 GB, free: 13.74 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 8.383e-05/1.653, allocations: 37.7 kB / 1.493 GB, free: 13.7 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004112/1.654, allocations: 488.8 kB / 1.493 GB, free: 13.21 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.000249/1.654, allocations: 230 kB / 1.493 GB, free: 12.98 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002185/1.654, allocations: 106.2 kB / 1.494 GB, free: 12.88 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001482/1.654, allocations: 334 kB / 1.494 GB, free: 12.54 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005208/1.655, allocations: 259.5 kB / 1.494 GB, free: 12.29 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006251/1.655, allocations: 363.5 kB / 1.494 GB, free: 11.9 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001132/1.656, allocations: 0.593 MB / 1.495 GB, free: 11.29 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/1.656, allocations: 0 / 1.495 GB, free: 11.29 MB / 1.186 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001577/1.658, allocations: 0.7403 MB / 1.496 GB, free: 10.54 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/1.658, allocations: 4 kB / 1.496 GB, free: 10.54 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/1.658, allocations: 4.938 kB / 1.496 GB, free: 10.54 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.534e-05/1.658, allocations: 4 kB / 1.496 GB, free: 10.53 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006139/1.659, allocations: 127.8 kB / 1.496 GB, free: 10.41 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.563e-05/1.659, allocations: 4 kB / 1.496 GB, free: 10.4 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008485/1.66, allocations: 67.58 kB / 1.496 GB, free: 10.34 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.376e-05/1.66, allocations: 27.98 kB / 1.496 GB, free: 10.31 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008481/1.661, allocations: 0.4906 MB / 1.496 GB, free: 9.816 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005873/1.661, allocations: 359.5 kB / 1.497 GB, free: 9.434 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00104/1.662, allocations: 0.5774 MB / 1.497 GB, free: 8.84 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.094e-06/1.662, allocations: 0 / 1.497 GB, free: 8.84 MB / 1.186 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001462/1.664, allocations: 0.7326 MB / 1.498 GB, free: 8.102 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/1.664, allocations: 7.938 kB / 1.498 GB, free: 8.094 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.666e-06/1.664, allocations: 0 / 1.498 GB, free: 8.094 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.184e-06/1.664, allocations: 4 kB / 1.498 GB, free: 8.09 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005686/1.664, allocations: 127.8 kB / 1.498 GB, free: 7.965 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/1.664, allocations: 8.125 kB / 1.498 GB, free: 7.957 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008628/1.665, allocations: 59.7 kB / 1.498 GB, free: 7.898 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.551e-05/1.665, allocations: 23.98 kB / 1.498 GB, free: 7.875 MB / 1.186 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.0002282/1.665, allocations: 220 kB / 1.499 GB, free: 7.652 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002214/1.666, allocations: 111.3 kB / 1.499 GB, free: 7.543 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001492/1.667, allocations: 0.7442 MB / 1.499 GB, free: 6.797 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.201e-06/1.667, allocations: 4 kB / 1.499 GB, free: 6.793 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/1.667, allocations: 3.938 kB / 1.499 GB, free: 6.789 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001225/1.668, allocations: 0.8994 MB / 1.5 GB, free: 5.805 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003628/1.672, allocations: 2.255 MB / 1.502 GB, free: 3.406 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-05/1.672, allocations: 12.33 kB / 1.502 GB, free: 3.395 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000669/1.673, allocations: 135.8 kB / 1.503 GB, free: 3.262 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.269e-05/1.673, allocations: 7.984 kB / 1.503 GB, free: 3.254 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.046e-05/1.673, allocations: 20 kB / 1.503 GB, free: 3.234 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.676e-06/1.673, allocations: 4 kB / 1.503 GB, free: 3.23 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.174e-06/1.673, allocations: 9.891 kB / 1.503 GB, free: 3.223 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002088/1.675, allocations: 1.227 MB / 1.504 GB, free: 1.938 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005952/1.675, allocations: 268.2 kB / 1.504 GB, free: 1.656 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002408/1.676, allocations: 16 kB / 1.504 GB, free: 1.641 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008143/1.676, allocations: 44.83 kB / 1.504 GB, free: 1.598 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000146/1.677, allocations: 48.27 kB / 1.504 GB, free: 1.551 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.786e-05/1.677, allocations: 23.98 kB / 1.504 GB, free: 1.527 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001039/1.678, allocations: 0.5901 MB / 1.505 GB, free: 0.9258 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.4e-07/1.678, allocations: 0 / 1.505 GB, free: 0.9258 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001776/1.679, allocations: 0.5341 MB / 1.505 GB, free: 400 kB / 1.186 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.0006971/1.68, allocations: 239.8 kB / 1.506 GB, free: 160 kB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.002099/1.682, allocations: 0.892 MB / 1.506 GB, free: 15.27 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 8.677e-06/1.682, allocations: 4 kB / 1.506 GB, free: 15.26 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0006293/1.683, allocations: 330.8 kB / 1.507 GB, free: 14.94 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002664/1.686, allocations: 0.5981 MB / 1.507 GB, free: 14.36 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003737/1.689, allocations: 2.168 MB / 1.509 GB, free: 12.12 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008652/1.69, allocations: 1.131 MB / 1.511 GB, free: 10.96 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.00106/1.691, allocations: 300.1 kB / 1.511 GB, free: 10.66 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002779/1.691, allocations: 79.44 kB / 1.511 GB, free: 10.58 MB / 1.201 GB Notification: Performance of SimCode: time 1.022e-06/1.691, allocations: 0 / 1.511 GB, free: 10.58 MB / 1.201 GB Notification: Performance of Templates: time 0.03965/1.731, allocations: 20.62 MB / 1.531 GB, free: 6.273 MB / 1.217 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=480 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.FixedResistances.Examples.FlowJunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches