Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.006531/0.006531, allocations: 99.84 kB / 15.73 MB, free: 6.016 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.001503/0.001503, allocations: 189.6 kB / 16.67 MB, free: 5.938 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.481/1.481, allocations: 222.9 MB / 240.4 MB, free: 4.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.873/2.873, allocations: 437 MB / 0.7105 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 67.89 kB / 1.019 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4198/0.421, allocations: 151.6 MB / 1.167 GB, free: 6.82 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 1.236/1.657, allocations: 239.9 MB / 1.401 GB, free: 13.02 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01367/1.671, allocations: 7.204 MB / 1.408 GB, free: 7.148 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002775/1.673, allocations: 56.94 kB / 1.408 GB, free: 7.125 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.003112/1.677, allocations: 0.6961 MB / 1.409 GB, free: 6.535 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.007176/1.684, allocations: 2.066 MB / 1.411 GB, free: 4.918 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.006079/1.69, allocations: 2.038 MB / 1.413 GB, free: 3.406 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.005646/1.696, allocations: 3.277 MB / 1.416 GB, free: 1.496 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002012/1.698, allocations: 1.131 MB / 1.417 GB, free: 0.8008 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004771/1.702, allocations: 1.797 MB / 1.419 GB, free: 15.68 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002575/1.705, allocations: 0.9631 MB / 1.42 GB, free: 15.11 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0003031/1.705, allocations: 121.1 kB / 1.42 GB, free: 15.11 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005796/1.711, allocations: 2.486 MB / 1.422 GB, free: 13.72 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0005994/1.712, allocations: 460.3 kB / 1.423 GB, free: 13.4 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001132/1.713, allocations: 0.7306 MB / 1.423 GB, free: 12.93 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.00621/1.719, allocations: 2.683 MB / 1.426 GB, free: 10.91 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/1.719, allocations: 0 / 1.426 GB, free: 10.91 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.515e-06/1.719, allocations: 0 / 1.426 GB, free: 10.91 MB / 1.092 GB Notification: Performance of Transformations before backend: time 2.307e-05/1.719, allocations: 0 / 1.426 GB, free: 10.91 MB / 1.092 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.003242/1.722, allocations: 1.761 MB / 1.428 GB, free: 9.086 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/1.723, allocations: 12.75 kB / 1.428 GB, free: 9.074 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002771/1.725, allocations: 422.8 kB / 1.428 GB, free: 8.66 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001822/1.727, allocations: 1.043 MB / 1.429 GB, free: 7.574 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.62e-05/1.727, allocations: 61.94 kB / 1.429 GB, free: 7.516 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001316/1.727, allocations: 84 kB / 1.429 GB, free: 7.434 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001694/1.729, allocations: 0.8663 MB / 1.43 GB, free: 6.562 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.622e-05/1.729, allocations: 3.953 kB / 1.43 GB, free: 6.559 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.603e-05/1.729, allocations: 32 kB / 1.43 GB, free: 6.527 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.482e-05/1.729, allocations: 26 kB / 1.43 GB, free: 6.5 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001442/1.731, allocations: 0.8081 MB / 1.431 GB, free: 5.691 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.005103/1.736, allocations: 3.655 MB / 1.435 GB, free: 1.738 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00158/1.737, allocations: 1.095 MB / 1.436 GB, free: 0.5273 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006122/1.738, allocations: 369.6 kB / 1.436 GB, free: 172 kB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006985/1.739, allocations: 412.8 kB / 1.436 GB, free: 15.69 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.596e-05/1.739, allocations: 43.06 kB / 1.436 GB, free: 15.64 MB / 1.107 GB Notification: Performance of pre-optimization done (n=60): time 3.216e-06/1.739, allocations: 0 / 1.436 GB, free: 15.64 MB / 1.107 GB Notification: Performance of matching and sorting (n=60): time 0.002158/1.741, allocations: 0.959 MB / 1.437 GB, free: 14.68 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.494e-05/1.741, allocations: 55.97 kB / 1.437 GB, free: 14.61 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001082/1.742, allocations: 0.836 MB / 1.438 GB, free: 13.75 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 5.759e-05/1.742, allocations: 41.7 kB / 1.438 GB, free: 13.7 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004682/1.743, allocations: 488.8 kB / 1.439 GB, free: 13.21 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.000196/1.743, allocations: 222 kB / 1.439 GB, free: 13 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002084/1.743, allocations: 118.2 kB / 1.439 GB, free: 12.88 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001631/1.743, allocations: 329.9 kB / 1.439 GB, free: 12.55 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004853/1.744, allocations: 258.9 kB / 1.44 GB, free: 12.29 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000575/1.744, allocations: 363.5 kB / 1.44 GB, free: 11.9 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00104/1.745, allocations: 0.5891 MB / 1.44 GB, free: 11.3 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/1.745, allocations: 0 / 1.44 GB, free: 11.3 MB / 1.107 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00133/1.747, allocations: 0.7443 MB / 1.441 GB, free: 10.55 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/1.747, allocations: 8 kB / 1.441 GB, free: 10.54 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/1.747, allocations: 4 kB / 1.441 GB, free: 10.54 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/1.747, allocations: 4 kB / 1.441 GB, free: 10.53 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006197/1.747, allocations: 127.8 kB / 1.441 GB, free: 10.41 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/1.747, allocations: 4 kB / 1.441 GB, free: 10.4 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007166/1.748, allocations: 67.59 kB / 1.441 GB, free: 10.34 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-05/1.748, allocations: 24.95 kB / 1.441 GB, free: 10.31 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000805/1.749, allocations: 0.4971 MB / 1.442 GB, free: 9.812 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005555/1.75, allocations: 355.5 kB / 1.442 GB, free: 9.434 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009622/1.751, allocations: 0.5774 MB / 1.443 GB, free: 8.844 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.964e-06/1.751, allocations: 4 kB / 1.443 GB, free: 8.84 MB / 1.107 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001306/1.752, allocations: 0.7247 MB / 1.444 GB, free: 8.105 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/1.752, allocations: 10.44 kB / 1.444 GB, free: 8.098 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/1.752, allocations: 7.984 kB / 1.444 GB, free: 8.09 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.992e-06/1.752, allocations: 4 kB / 1.444 GB, free: 8.086 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005189/1.752, allocations: 131.9 kB / 1.444 GB, free: 7.957 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/1.752, allocations: 4 kB / 1.444 GB, free: 7.953 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007028/1.753, allocations: 58.36 kB / 1.444 GB, free: 7.898 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.588e-05/1.753, allocations: 20 kB / 1.444 GB, free: 7.879 MB / 1.107 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.0002054/1.753, allocations: 220.1 kB / 1.444 GB, free: 7.656 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001622/1.754, allocations: 111.2 kB / 1.444 GB, free: 7.547 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001496/1.755, allocations: 0.7412 MB / 1.445 GB, free: 6.801 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/1.755, allocations: 8 kB / 1.445 GB, free: 6.793 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/1.755, allocations: 0 / 1.445 GB, free: 6.793 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001179/1.756, allocations: 0.9033 MB / 1.446 GB, free: 5.805 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003489/1.76, allocations: 2.245 MB / 1.448 GB, free: 3.418 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/1.76, allocations: 7.969 kB / 1.448 GB, free: 3.41 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006706/1.761, allocations: 139.8 kB / 1.448 GB, free: 3.273 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.041e-05/1.761, allocations: 8 kB / 1.448 GB, free: 3.266 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.712e-05/1.761, allocations: 16 kB / 1.448 GB, free: 3.25 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.492e-06/1.761, allocations: 4 kB / 1.448 GB, free: 3.246 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/1.761, allocations: 7.938 kB / 1.448 GB, free: 3.238 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00199/1.763, allocations: 1.232 MB / 1.449 GB, free: 1.949 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004698/1.763, allocations: 268.2 kB / 1.45 GB, free: 1.668 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001259/1.763, allocations: 20 kB / 1.45 GB, free: 1.648 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006333/1.764, allocations: 39.95 kB / 1.45 GB, free: 1.609 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/1.764, allocations: 48.31 kB / 1.45 GB, free: 1.562 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.713e-05/1.764, allocations: 27.94 kB / 1.45 GB, free: 1.535 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0009187/1.765, allocations: 0.5862 MB / 1.45 GB, free: 0.9375 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.5e-07/1.765, allocations: 0 / 1.45 GB, free: 0.9375 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001356/1.766, allocations: 0.538 MB / 1.451 GB, free: 408 kB / 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.0005356/1.767, allocations: 246.2 kB / 1.451 GB, free: 160 kB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001902/1.769, allocations: 0.9392 MB / 1.452 GB, free: 15.22 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/1.769, allocations: 4.062 kB / 1.452 GB, free: 15.22 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0005882/1.769, allocations: 346.1 kB / 1.452 GB, free: 14.88 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002752/1.772, allocations: 0.5984 MB / 1.453 GB, free: 14.29 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003388/1.776, allocations: 2.164 MB / 1.455 GB, free: 12.05 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000817/1.776, allocations: 1.124 MB / 1.456 GB, free: 10.9 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001005/1.777, allocations: 304 kB / 1.456 GB, free: 10.6 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002344/1.778, allocations: 83.42 kB / 1.456 GB, free: 10.52 MB / 1.123 GB Notification: Performance of SimCode: time 9.62e-07/1.778, allocations: 0 / 1.456 GB, free: 10.52 MB / 1.123 GB Notification: Performance of Templates: time 0.03682/1.814, allocations: 20.51 MB / 1.476 GB, free: 6.34 MB / 1.139 GB make -j1 -f Buildings_10_Buildings.Fluid.FixedResistances.Examples.FlowJunction.makefile (rm -f Buildings_10_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo Buildings_10_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/Buildings_10_Buildings.Fluid.FixedResistances.Examples.FlowJunction.sim & ./Buildings_10_Buildings.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FixedResistances.Examples.FlowJunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FixedResistances_Examples_FlowJunction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FixedResistances.Examples.FlowJunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches