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.006387/0.006387, allocations: 102.7 kB / 15.73 MB, free: 6.488 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.00109/0.00109, allocations: 195.2 kB / 16.68 MB, free: 6.375 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.519/1.519, 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.0.1-master/package.mo): time 2.894/2.894, allocations: 461.9 MB / 0.7347 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 63.91 kB / 1.054 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3706/0.3719, allocations: 157.4 MB / 1.208 GB, free: 9.684 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 1.122/1.494, allocations: 239.9 MB / 1.442 GB, free: 6.848 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01232/1.506, allocations: 7.204 MB / 1.449 GB, free: 15.63 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00249/1.509, allocations: 51.69 kB / 1.449 GB, free: 15.58 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.002399/1.511, allocations: 0.7026 MB / 1.45 GB, free: 14.88 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.007194/1.518, allocations: 2.067 MB / 1.452 GB, free: 12.8 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.006122/1.524, allocations: 2.038 MB / 1.454 GB, free: 10.77 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.005615/1.53, allocations: 3.273 MB / 1.457 GB, free: 7.492 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001979/1.532, allocations: 1.132 MB / 1.458 GB, free: 6.34 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004845/1.537, allocations: 1.81 MB / 1.46 GB, free: 4.523 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002285/1.539, allocations: 0.9791 MB / 1.461 GB, free: 3.543 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0002666/1.539, allocations: 124 kB / 1.461 GB, free: 3.422 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005548/1.545, allocations: 2.483 MB / 1.463 GB, free: 0.9336 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0006356/1.546, allocations: 466.7 kB / 1.464 GB, free: 488 kB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.001182/1.547, allocations: 0.7194 MB / 1.464 GB, free: 15.75 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.00594/1.553, allocations: 2.68 MB / 1.467 GB, free: 13.07 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/1.553, allocations: 0 / 1.467 GB, free: 13.07 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.214e-06/1.553, allocations: 0 / 1.467 GB, free: 13.07 MB / 1.154 GB Notification: Performance of Transformations before backend: time 2.178e-05/1.553, allocations: 0 / 1.467 GB, free: 13.07 MB / 1.154 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.003182/1.556, allocations: 1.706 MB / 1.469 GB, free: 11.31 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/1.556, allocations: 16.62 kB / 1.469 GB, free: 11.29 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002596/1.559, allocations: 422.6 kB / 1.469 GB, free: 10.88 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001877/1.561, allocations: 1.018 MB / 1.47 GB, free: 9.816 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.278e-05/1.561, allocations: 62 kB / 1.47 GB, free: 9.754 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001285/1.561, allocations: 87.91 kB / 1.47 GB, free: 9.668 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001478/1.562, allocations: 0.8701 MB / 1.471 GB, free: 8.793 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.461e-05/1.562, allocations: 0 / 1.471 GB, free: 8.793 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.498e-05/1.562, allocations: 35.94 kB / 1.471 GB, free: 8.758 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.709e-05/1.563, allocations: 26.88 kB / 1.471 GB, free: 8.734 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001397/1.564, allocations: 0.812 MB / 1.472 GB, free: 7.918 MB / 1.154 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.004661/1.569, allocations: 3.631 MB / 1.476 GB, free: 3.996 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001464/1.57, allocations: 1.097 MB / 1.477 GB, free: 2.781 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005667/1.571, allocations: 374.7 kB / 1.477 GB, free: 2.414 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007017/1.571, allocations: 412.8 kB / 1.477 GB, free: 1.938 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.787e-05/1.571, allocations: 43.11 kB / 1.477 GB, free: 1.887 MB / 1.154 GB Notification: Performance of pre-optimization done (n=60): time 3.176e-06/1.571, allocations: 0 / 1.477 GB, free: 1.887 MB / 1.154 GB Notification: Performance of matching and sorting (n=60): time 0.002063/1.573, allocations: 0.9584 MB / 1.478 GB, free: 0.9258 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.738e-05/1.574, allocations: 55.97 kB / 1.478 GB, free: 0.8594 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001042/1.575, allocations: 0.84 MB / 1.479 GB, free: 15.99 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 5.816e-05/1.575, allocations: 37.7 kB / 1.479 GB, free: 15.95 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003741/1.575, allocations: 484 kB / 1.48 GB, free: 15.47 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002037/1.575, allocations: 220.8 kB / 1.48 GB, free: 15.25 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001793/1.575, allocations: 106.2 kB / 1.48 GB, free: 15.14 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001249/1.576, allocations: 330 kB / 1.48 GB, free: 14.82 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004667/1.576, allocations: 259 kB / 1.481 GB, free: 14.56 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005446/1.577, allocations: 373 kB / 1.481 GB, free: 14.16 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009867/1.578, allocations: 0.593 MB / 1.482 GB, free: 13.56 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/1.578, allocations: 0 / 1.482 GB, free: 13.56 MB / 1.17 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001311/1.579, allocations: 0.7398 MB / 1.482 GB, free: 12.81 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/1.579, allocations: 4 kB / 1.482 GB, free: 12.8 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/1.579, allocations: 0 / 1.482 GB, free: 12.8 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/1.579, allocations: 4 kB / 1.482 GB, free: 12.8 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005859/1.58, allocations: 123.9 kB / 1.482 GB, free: 12.68 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.362e-05/1.58, allocations: 16.05 kB / 1.482 GB, free: 12.66 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007391/1.58, allocations: 63.59 kB / 1.482 GB, free: 12.6 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.168e-05/1.58, allocations: 27.92 kB / 1.482 GB, free: 12.57 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008085/1.581, allocations: 0.4893 MB / 1.483 GB, free: 12.08 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005389/1.582, allocations: 359.5 kB / 1.483 GB, free: 11.7 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009399/1.583, allocations: 0.5812 MB / 1.484 GB, free: 11.1 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.014e-06/1.583, allocations: 0 / 1.484 GB, free: 11.1 MB / 1.17 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001259/1.584, allocations: 0.7243 MB / 1.485 GB, free: 10.37 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/1.584, allocations: 9.656 kB / 1.485 GB, free: 10.36 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.025e-06/1.584, allocations: 0 / 1.485 GB, free: 10.36 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.061e-06/1.584, allocations: 4 kB / 1.485 GB, free: 10.36 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005326/1.585, allocations: 127.8 kB / 1.485 GB, free: 10.23 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/1.585, allocations: 4 kB / 1.485 GB, free: 10.23 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008012/1.585, allocations: 63.64 kB / 1.485 GB, free: 10.16 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.852e-05/1.585, allocations: 24 kB / 1.485 GB, free: 10.14 MB / 1.17 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.0002129/1.586, allocations: 212.1 kB / 1.485 GB, free: 9.926 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001568/1.586, allocations: 106.7 kB / 1.485 GB, free: 9.82 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00141/1.587, allocations: 0.7399 MB / 1.486 GB, free: 9.082 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/1.587, allocations: 4 kB / 1.486 GB, free: 9.078 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/1.587, allocations: 4 kB / 1.486 GB, free: 9.074 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001092/1.588, allocations: 0.8994 MB / 1.487 GB, free: 8.09 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003447/1.592, allocations: 2.255 MB / 1.489 GB, free: 5.695 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.205e-06/1.592, allocations: 7.938 kB / 1.489 GB, free: 5.688 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006348/1.592, allocations: 131.8 kB / 1.489 GB, free: 5.559 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.18e-05/1.593, allocations: 11.98 kB / 1.489 GB, free: 5.547 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.911e-05/1.593, allocations: 16.41 kB / 1.489 GB, free: 5.531 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.877e-06/1.593, allocations: 8 kB / 1.489 GB, free: 5.523 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/1.593, allocations: 4 kB / 1.489 GB, free: 5.52 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001841/1.594, allocations: 1.23 MB / 1.49 GB, free: 4.227 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004826/1.595, allocations: 263.7 kB / 1.491 GB, free: 3.949 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001304/1.595, allocations: 16 kB / 1.491 GB, free: 3.934 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006474/1.596, allocations: 42.33 kB / 1.491 GB, free: 3.895 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001141/1.596, allocations: 48.33 kB / 1.491 GB, free: 3.848 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.596e-05/1.596, allocations: 23.98 kB / 1.491 GB, free: 3.824 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0008126/1.597, allocations: 0.5862 MB / 1.491 GB, free: 3.227 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.7e-07/1.597, allocations: 0 / 1.491 GB, free: 3.227 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001469/1.598, allocations: 0.5338 MB / 1.492 GB, free: 2.691 MB / 1.17 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.0005785/1.599, allocations: 247.7 kB / 1.492 GB, free: 2.449 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001716/1.601, allocations: 0.9468 MB / 1.493 GB, free: 1.5 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/1.601, allocations: 0 / 1.493 GB, free: 1.5 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.000535/1.601, allocations: 347.2 kB / 1.493 GB, free: 1.164 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002399/1.603, allocations: 0.5967 MB / 1.494 GB, free: 0.582 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00312/1.607, allocations: 2.124 MB / 1.496 GB, free: 14.39 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006544/1.607, allocations: 1.128 MB / 1.497 GB, free: 13.23 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0009459/1.608, allocations: 300.1 kB / 1.497 GB, free: 12.93 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002089/1.608, allocations: 75.44 kB / 1.497 GB, free: 12.86 MB / 1.186 GB Notification: Performance of SimCode: time 5.31e-07/1.608, allocations: 0 / 1.497 GB, free: 12.86 MB / 1.186 GB Notification: Performance of Templates: time 0.03443/1.643, allocations: 20.5 MB / 1.517 GB, free: 8.648 MB / 1.201 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches