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.005221/0.005221, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001155/0.001155, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.442/1.442, allocations: 222.9 MB / 240.4 MB, free: 4.188 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.648/2.648, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 58.69 kB / 0.9508 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3518/0.3531, allocations: 140.4 MB / 1.088 GB, free: 1.469 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 1.186/1.54, allocations: 239.9 MB / 1.322 GB, free: 8.93 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01278/1.552, allocations: 7.207 MB / 1.329 GB, free: 8.738 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002984/1.555, allocations: 54.66 kB / 1.329 GB, free: 8.734 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002323/1.558, allocations: 0.7188 MB / 1.33 GB, free: 8.723 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.007844/1.566, allocations: 2.176 MB / 1.332 GB, free: 8.629 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.007417/1.573, allocations: 2.052 MB / 1.334 GB, free: 8.57 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.006963/1.58, allocations: 3.279 MB / 1.337 GB, free: 8.516 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002295/1.582, allocations: 1.148 MB / 1.338 GB, free: 8.387 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005403/1.588, allocations: 1.844 MB / 1.34 GB, free: 8.254 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002971/1.591, allocations: 0.9599 MB / 1.341 GB, free: 8.105 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0003188/1.591, allocations: 120.8 kB / 1.341 GB, free: 8.105 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006599/1.598, allocations: 2.501 MB / 1.344 GB, free: 7.902 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0008093/1.599, allocations: 469.8 kB / 1.344 GB, free: 7.699 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001444/1.6, allocations: 0.7153 MB / 1.345 GB, free: 7.285 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.006836/1.607, allocations: 2.676 MB / 1.347 GB, free: 6.5 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/1.607, allocations: 6.906 kB / 1.347 GB, free: 6.496 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.084e-06/1.607, allocations: 0.9688 kB / 1.347 GB, free: 6.496 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.547e-05/1.607, allocations: 0 / 1.347 GB, free: 6.496 MB / 1.014 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.002848/1.61, allocations: 1.711 MB / 1.349 GB, free: 5.391 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/1.61, allocations: 9.969 kB / 1.349 GB, free: 5.391 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002576/1.612, allocations: 426.7 kB / 1.35 GB, free: 5.293 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001578/1.614, allocations: 1.018 MB / 1.351 GB, free: 4.738 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.741e-05/1.614, allocations: 58.62 kB / 1.351 GB, free: 4.711 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001295/1.614, allocations: 86.16 kB / 1.351 GB, free: 4.684 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001444/1.616, allocations: 0.8672 MB / 1.352 GB, free: 4.344 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.647e-05/1.616, allocations: 4 kB / 1.352 GB, free: 4.34 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.482e-05/1.616, allocations: 28.94 kB / 1.352 GB, free: 4.316 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.129e-05/1.616, allocations: 28.28 kB / 1.352 GB, free: 4.316 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00131/1.617, allocations: 0.8129 MB / 1.352 GB, free: 4.039 MB / 1.014 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.004313/1.621, allocations: 3.648 MB / 1.356 GB, free: 1.637 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001317/1.623, allocations: 1.092 MB / 1.357 GB, free: 0.8203 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005119/1.623, allocations: 376.8 kB / 1.357 GB, free: 0.6797 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006164/1.624, allocations: 413.4 kB / 1.358 GB, free: 300 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/1.624, allocations: 38.72 kB / 1.358 GB, free: 256 kB / 1.014 GB Notification: Performance of pre-optimization done (n=60): time 2.926e-06/1.624, allocations: 0 / 1.358 GB, free: 256 kB / 1.014 GB Notification: Performance of matching and sorting (n=60): time 0.00201/1.626, allocations: 0.9589 MB / 1.359 GB, free: 15.89 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.004e-05/1.626, allocations: 57.53 kB / 1.359 GB, free: 15.83 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00104/1.627, allocations: 0.8309 MB / 1.36 GB, free: 15.48 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.176e-05/1.627, allocations: 40.55 kB / 1.36 GB, free: 15.44 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003632/1.628, allocations: 485.8 kB / 1.36 GB, free: 15.07 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002003/1.628, allocations: 207.7 kB / 1.36 GB, free: 14.91 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002045/1.628, allocations: 113.3 kB / 1.36 GB, free: 14.85 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001397/1.628, allocations: 335.3 kB / 1.361 GB, free: 14.53 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004539/1.629, allocations: 257.5 kB / 1.361 GB, free: 14.43 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005597/1.629, allocations: 370.3 kB / 1.361 GB, free: 14.24 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009816/1.63, allocations: 0.5862 MB / 1.362 GB, free: 13.98 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/1.63, allocations: 0 / 1.362 GB, free: 13.98 MB / 1.029 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001341/1.632, allocations: 0.7313 MB / 1.363 GB, free: 13.68 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.788e-05/1.632, allocations: 6.125 kB / 1.363 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.725e-05/1.632, allocations: 10.53 kB / 1.363 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.688e-05/1.632, allocations: 2.656 kB / 1.363 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006037/1.632, allocations: 127 kB / 1.363 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.401e-05/1.632, allocations: 2.156 kB / 1.363 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009215/1.633, allocations: 67.09 kB / 1.363 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.788e-05/1.633, allocations: 20.12 kB / 1.363 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001015/1.634, allocations: 0.5013 MB / 1.363 GB, free: 13.38 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006286/1.635, allocations: 355.6 kB / 1.364 GB, free: 13.2 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00108/1.636, allocations: 0.585 MB / 1.364 GB, free: 12.93 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.833e-06/1.636, allocations: 0 / 1.364 GB, free: 12.93 MB / 1.029 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.00136/1.637, allocations: 0.7186 MB / 1.365 GB, free: 12.64 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/1.637, allocations: 14.72 kB / 1.365 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-06/1.637, allocations: 0 / 1.365 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.859e-06/1.637, allocations: 3.562 kB / 1.365 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005368/1.638, allocations: 128.9 kB / 1.365 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/1.638, allocations: 9.797 kB / 1.365 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008468/1.639, allocations: 67.27 kB / 1.365 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.317e-05/1.639, allocations: 20.64 kB / 1.365 GB, free: 12.59 MB / 1.029 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.0003782/1.639, allocations: 215.5 kB / 1.365 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002001/1.64, allocations: 103.9 kB / 1.365 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001612/1.641, allocations: 0.7385 MB / 1.366 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.437e-06/1.641, allocations: 5.406 kB / 1.366 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/1.641, allocations: 2.562 kB / 1.366 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001302/1.642, allocations: 0.8991 MB / 1.367 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003675/1.646, allocations: 2.257 MB / 1.369 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.377e-06/1.646, allocations: 6.734 kB / 1.369 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006566/1.647, allocations: 139.8 kB / 1.369 GB, free: 10.15 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.378e-06/1.647, allocations: 5.469 kB / 1.369 GB, free: 10.15 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.912e-05/1.647, allocations: 17.84 kB / 1.369 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.819e-06/1.647, allocations: 7.375 kB / 1.369 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.114e-06/1.647, allocations: 9.406 kB / 1.369 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001974/1.649, allocations: 1.221 MB / 1.371 GB, free: 9.496 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004927/1.649, allocations: 259.6 kB / 1.371 GB, free: 9.301 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/1.65, allocations: 17.69 kB / 1.371 GB, free: 9.293 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006155/1.65, allocations: 45.8 kB / 1.371 GB, free: 9.277 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001293/1.65, allocations: 50.83 kB / 1.371 GB, free: 9.266 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-05/1.65, allocations: 27.14 kB / 1.371 GB, free: 9.258 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0008311/1.651, allocations: 0.5924 MB / 1.372 GB, free: 9 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.6e-07/1.651, allocations: 0 / 1.372 GB, free: 9 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001433/1.653, allocations: 0.5298 MB / 1.372 GB, free: 8.902 MB / 1.029 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.0006143/1.653, allocations: 262.6 kB / 1.372 GB, free: 8.754 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001932/1.655, allocations: 0.9448 MB / 1.373 GB, free: 8.469 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/1.655, allocations: 0.5 kB / 1.373 GB, free: 8.469 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0006016/1.656, allocations: 343.5 kB / 1.374 GB, free: 8.371 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002364/1.658, allocations: 0.5908 MB / 1.374 GB, free: 8.188 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003584/1.662, allocations: 2.132 MB / 1.376 GB, free: 6.934 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009082/1.663, allocations: 1.121 MB / 1.377 GB, free: 6.18 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001109/1.664, allocations: 301.3 kB / 1.378 GB, free: 6.117 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002375/1.664, allocations: 80.39 kB / 1.378 GB, free: 6.105 MB / 1.029 GB Notification: Performance of SimCode: time 1.553e-06/1.664, allocations: 0 / 1.378 GB, free: 6.105 MB / 1.029 GB Notification: Performance of Templates: time 0.04212/1.706, allocations: 20.5 MB / 1.398 GB, free: 10.11 MB / 1.045 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