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.006396/0.006396, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001324/0.001324, allocations: 197.1 kB / 16.68 MB, free: 5.93 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.53/1.53, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.429/2.429, allocations: 390.2 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002788/0.002788, allocations: 63.91 kB / 0.9508 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.163/1.166, allocations: 140.4 MB / 1.088 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.3604/1.526, allocations: 239.9 MB / 1.322 GB, free: 13.55 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01669/1.543, allocations: 7.203 MB / 1.329 GB, free: 6.336 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002761/1.546, allocations: 51.69 kB / 1.329 GB, free: 6.285 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.002834/1.549, allocations: 0.7027 MB / 1.33 GB, free: 5.578 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.007652/1.557, allocations: 2.069 MB / 1.332 GB, free: 3.5 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.006832/1.563, allocations: 2.036 MB / 1.334 GB, free: 1.473 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.006169/1.57, allocations: 3.273 MB / 1.337 GB, free: 14.19 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002409/1.572, allocations: 1.134 MB / 1.338 GB, free: 13.04 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00539/1.577, allocations: 1.79 MB / 1.34 GB, free: 11.24 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002792/1.58, allocations: 0.9559 MB / 1.341 GB, free: 10.29 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0005827/1.581, allocations: 128 kB / 1.341 GB, free: 10.16 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006567/1.587, allocations: 2.486 MB / 1.343 GB, free: 7.668 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0009327/1.588, allocations: 458.7 kB / 1.344 GB, free: 7.219 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.002089/1.59, allocations: 0.7233 MB / 1.345 GB, free: 6.492 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.007399/1.598, allocations: 2.684 MB / 1.347 GB, free: 3.801 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/1.598, allocations: 0 / 1.347 GB, free: 3.801 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.014e-06/1.598, allocations: 4 kB / 1.347 GB, free: 3.797 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.829e-05/1.598, allocations: 0 / 1.347 GB, free: 3.797 MB / 1.076 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.005065/1.603, allocations: 1.701 MB / 1.349 GB, free: 2.043 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/1.603, allocations: 8.031 kB / 1.349 GB, free: 2.035 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003278/1.606, allocations: 429.9 kB / 1.349 GB, free: 1.613 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002645/1.609, allocations: 1.015 MB / 1.35 GB, free: 0.5547 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.032e-05/1.609, allocations: 69.98 kB / 1.35 GB, free: 496 kB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002983/1.61, allocations: 91.92 kB / 1.35 GB, free: 404 kB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002177/1.612, allocations: 0.8624 MB / 1.351 GB, free: 15.52 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.96e-05/1.612, allocations: 0 / 1.351 GB, free: 15.52 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001158/1.612, allocations: 40 kB / 1.351 GB, free: 15.48 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-05/1.612, allocations: 26 kB / 1.351 GB, free: 15.46 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001824/1.614, allocations: 0.8003 MB / 1.352 GB, free: 14.66 MB / 1.092 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.006184/1.62, allocations: 3.646 MB / 1.356 GB, free: 10.72 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001651/1.622, allocations: 1.092 MB / 1.357 GB, free: 9.512 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006413/1.622, allocations: 374.3 kB / 1.357 GB, free: 9.145 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007607/1.623, allocations: 404.9 kB / 1.358 GB, free: 8.676 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.99e-05/1.623, allocations: 43.12 kB / 1.358 GB, free: 8.625 MB / 1.092 GB Notification: Performance of pre-optimization done (n=60): time 2.735e-06/1.623, allocations: 3.938 kB / 1.358 GB, free: 8.621 MB / 1.092 GB Notification: Performance of matching and sorting (n=60): time 0.002425/1.626, allocations: 0.9546 MB / 1.359 GB, free: 7.66 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/1.626, allocations: 63.91 kB / 1.359 GB, free: 7.582 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001447/1.627, allocations: 0.8361 MB / 1.359 GB, free: 6.723 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 9.348e-05/1.627, allocations: 37.7 kB / 1.359 GB, free: 6.68 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004222/1.628, allocations: 484.1 kB / 1.36 GB, free: 6.199 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002452/1.628, allocations: 212.9 kB / 1.36 GB, free: 5.988 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002256/1.628, allocations: 114.1 kB / 1.36 GB, free: 5.871 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001464/1.628, allocations: 334 kB / 1.361 GB, free: 5.539 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005299/1.629, allocations: 255 kB / 1.361 GB, free: 5.289 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006407/1.629, allocations: 371.4 kB / 1.361 GB, free: 4.891 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001175/1.631, allocations: 0.5891 MB / 1.362 GB, free: 4.289 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/1.631, allocations: 0 / 1.362 GB, free: 4.289 MB / 1.092 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001617/1.632, allocations: 0.7359 MB / 1.362 GB, free: 3.543 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/1.632, allocations: 10.28 kB / 1.362 GB, free: 3.535 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/1.632, allocations: 0 / 1.362 GB, free: 3.535 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.316e-05/1.632, allocations: 8.125 kB / 1.362 GB, free: 3.527 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000613/1.633, allocations: 127.9 kB / 1.363 GB, free: 3.402 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.542e-05/1.633, allocations: 7.938 kB / 1.363 GB, free: 3.395 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009487/1.634, allocations: 63.5 kB / 1.363 GB, free: 3.332 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.564e-05/1.634, allocations: 27.98 kB / 1.363 GB, free: 3.305 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009783/1.635, allocations: 497 kB / 1.363 GB, free: 2.816 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006236/1.636, allocations: 359.5 kB / 1.363 GB, free: 2.43 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001073/1.637, allocations: 0.5774 MB / 1.364 GB, free: 1.84 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.144e-06/1.637, allocations: 0 / 1.364 GB, free: 1.84 MB / 1.092 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001598/1.638, allocations: 0.728 MB / 1.365 GB, free: 1.102 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/1.638, allocations: 8 kB / 1.365 GB, free: 1.094 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/1.638, allocations: 0 / 1.365 GB, free: 1.094 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.658e-06/1.638, allocations: 4 kB / 1.365 GB, free: 1.09 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005938/1.639, allocations: 127.8 kB / 1.365 GB, free: 0.9648 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.439e-05/1.639, allocations: 4 kB / 1.365 GB, free: 0.9609 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000969/1.64, allocations: 71.67 kB / 1.365 GB, free: 0.8906 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.702e-05/1.64, allocations: 20 kB / 1.365 GB, free: 0.8711 MB / 1.092 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.0002841/1.64, allocations: 208.1 kB / 1.365 GB, free: 0.6602 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003103/1.641, allocations: 106.7 kB / 1.365 GB, free: 0.5547 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001716/1.642, allocations: 0.7432 MB / 1.366 GB, free: 15.81 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.174e-05/1.642, allocations: 4 kB / 1.366 GB, free: 15.8 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.124e-05/1.642, allocations: 0 / 1.366 GB, free: 15.8 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001481/1.644, allocations: 0.9033 MB / 1.367 GB, free: 14.82 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004717/1.649, allocations: 2.251 MB / 1.369 GB, free: 12.43 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-05/1.649, allocations: 4 kB / 1.369 GB, free: 12.42 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000703/1.649, allocations: 140.2 kB / 1.369 GB, free: 12.29 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.497e-05/1.649, allocations: 8.125 kB / 1.369 GB, free: 12.28 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.574e-05/1.65, allocations: 20 kB / 1.369 GB, free: 12.26 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.221e-05/1.65, allocations: 7.938 kB / 1.369 GB, free: 12.25 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.797e-06/1.65, allocations: 7.938 kB / 1.369 GB, free: 12.24 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002357/1.652, allocations: 1.226 MB / 1.37 GB, free: 10.96 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006688/1.653, allocations: 263.7 kB / 1.371 GB, free: 10.68 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002119/1.653, allocations: 16 kB / 1.371 GB, free: 10.67 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008212/1.654, allocations: 48.98 kB / 1.371 GB, free: 10.62 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001313/1.654, allocations: 44.33 kB / 1.371 GB, free: 10.58 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.997e-05/1.654, allocations: 23.98 kB / 1.371 GB, free: 10.55 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.00102/1.655, allocations: 0.5823 MB / 1.371 GB, free: 9.961 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.683e-06/1.655, allocations: 4 kB / 1.371 GB, free: 9.957 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001819/1.657, allocations: 0.5377 MB / 1.372 GB, free: 9.418 MB / 1.107 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.0007131/1.657, allocations: 241.3 kB / 1.372 GB, free: 9.18 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.002054/1.66, allocations: 0.9427 MB / 1.373 GB, free: 8.234 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/1.66, allocations: 0 / 1.373 GB, free: 8.234 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0006485/1.66, allocations: 351.1 kB / 1.373 GB, free: 7.891 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00288/1.663, allocations: 0.595 MB / 1.374 GB, free: 7.309 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003755/1.667, allocations: 2.136 MB / 1.376 GB, free: 5.098 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008679/1.668, allocations: 1.131 MB / 1.377 GB, free: 3.934 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.001092/1.669, allocations: 304 kB / 1.377 GB, free: 3.633 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002795/1.669, allocations: 79.44 kB / 1.378 GB, free: 3.555 MB / 1.107 GB Notification: Performance of SimCode: time 8.61e-07/1.669, allocations: 0 / 1.378 GB, free: 3.555 MB / 1.107 GB Notification: Performance of Templates: time 0.03684/1.706, allocations: 20.49 MB / 1.398 GB, free: 15.39 MB / 1.139 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