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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.008408/0.008408, allocations: 109.9 kB / 15.71 MB, free: 6.367 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.001514/0.001514, allocations: 191 kB / 16.64 MB, free: 6.309 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.453/1.453, allocations: 222.9 MB / 240.3 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.514/2.514, allocations: 390.3 MB / 0.6648 GB, free: 176 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 67.78 kB / 0.9509 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3682/0.3695, allocations: 140.4 MB / 1.088 GB, free: 1.434 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 1.055/1.424, allocations: 239.9 MB / 1.322 GB, free: 8.93 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01482/1.439, allocations: 7.209 MB / 1.329 GB, free: 8.734 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003917/1.443, allocations: 53.88 kB / 1.329 GB, free: 8.73 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002803/1.446, allocations: 0.697 MB / 1.33 GB, free: 8.719 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.007683/1.454, allocations: 2.08 MB / 1.332 GB, free: 8.629 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.007959/1.462, allocations: 2.033 MB / 1.334 GB, free: 8.566 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.00816/1.47, allocations: 3.272 MB / 1.337 GB, free: 8.512 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00305/1.473, allocations: 1.14 MB / 1.338 GB, free: 8.387 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007248/1.48, allocations: 1.777 MB / 1.34 GB, free: 8.25 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003475/1.484, allocations: 0.9635 MB / 1.341 GB, free: 8.102 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0008815/1.485, allocations: 120.7 kB / 1.341 GB, free: 8.102 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008402/1.493, allocations: 2.486 MB / 1.344 GB, free: 8.004 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001251/1.494, allocations: 466.5 kB / 1.344 GB, free: 7.805 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.003021/1.497, allocations: 0.7208 MB / 1.345 GB, free: 7.387 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00948/1.507, allocations: 2.675 MB / 1.347 GB, free: 6.602 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 9.327e-06/1.507, allocations: 0 / 1.347 GB, free: 6.602 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.247e-06/1.507, allocations: 0.9688 kB / 1.347 GB, free: 6.602 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001235/1.507, allocations: 2.531 kB / 1.347 GB, free: 6.602 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.005317/1.512, allocations: 1.712 MB / 1.349 GB, free: 5.496 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.085e-05/1.512, allocations: 12.28 kB / 1.349 GB, free: 5.496 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003318/1.516, allocations: 426 kB / 1.349 GB, free: 5.398 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002372/1.518, allocations: 1.017 MB / 1.35 GB, free: 4.844 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.121e-05/1.518, allocations: 60.81 kB / 1.35 GB, free: 4.816 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002138/1.518, allocations: 83 kB / 1.351 GB, free: 4.789 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001826/1.52, allocations: 0.8681 MB / 1.351 GB, free: 4.445 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.162e-05/1.52, allocations: 4 kB / 1.351 GB, free: 4.441 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.309e-05/1.52, allocations: 38.23 kB / 1.351 GB, free: 4.414 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-05/1.52, allocations: 25.69 kB / 1.351 GB, free: 4.414 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001669/1.522, allocations: 0.8136 MB / 1.352 GB, free: 4.137 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.006407/1.529, allocations: 3.643 MB / 1.356 GB, free: 1.738 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001508/1.53, allocations: 1.088 MB / 1.357 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006024/1.531, allocations: 382.9 kB / 1.357 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006773/1.531, allocations: 403.7 kB / 1.358 GB, free: 412 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.756e-05/1.531, allocations: 48.97 kB / 1.358 GB, free: 360 kB / 1.014 GB Notification: Performance of pre-optimization done (n=60): time 2.575e-06/1.531, allocations: 0 / 1.358 GB, free: 360 kB / 1.014 GB Notification: Performance of matching and sorting (n=60): time 0.002262/1.534, allocations: 0.9501 MB / 1.359 GB, free: 0 / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/1.534, allocations: 62.56 kB / 1.359 GB, free: 15.93 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001488/1.535, allocations: 0.8322 MB / 1.359 GB, free: 15.59 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 8.41e-05/1.535, allocations: 43.77 kB / 1.359 GB, free: 15.54 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004422/1.536, allocations: 483.6 kB / 1.36 GB, free: 15.17 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002428/1.536, allocations: 205.3 kB / 1.36 GB, free: 15.01 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002238/1.536, allocations: 116.1 kB / 1.36 GB, free: 14.95 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001459/1.536, allocations: 335.9 kB / 1.361 GB, free: 14.63 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005029/1.537, allocations: 253.2 kB / 1.361 GB, free: 14.54 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006313/1.538, allocations: 371.7 kB / 1.361 GB, free: 14.34 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001095/1.539, allocations: 0.5869 MB / 1.362 GB, free: 14.08 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/1.539, allocations: 0 / 1.362 GB, free: 14.08 MB / 1.029 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001589/1.54, allocations: 0.73 MB / 1.362 GB, free: 13.79 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/1.54, allocations: 6.25 kB / 1.362 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/1.54, allocations: 8.109 kB / 1.362 GB, free: 13.78 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.501e-05/1.54, allocations: 5.031 kB / 1.362 GB, free: 13.78 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005762/1.541, allocations: 124.8 kB / 1.363 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.757e-05/1.541, allocations: 7.266 kB / 1.363 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001008/1.542, allocations: 68.47 kB / 1.363 GB, free: 13.74 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.114e-05/1.542, allocations: 24.33 kB / 1.363 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001017/1.543, allocations: 0.4951 MB / 1.363 GB, free: 13.48 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006042/1.544, allocations: 357.8 kB / 1.364 GB, free: 13.3 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001078/1.545, allocations: 0.5793 MB / 1.364 GB, free: 13.04 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.43e-06/1.545, allocations: 3.406 kB / 1.364 GB, free: 13.04 MB / 1.029 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001555/1.546, allocations: 0.7209 MB / 1.365 GB, free: 12.74 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/1.546, allocations: 12.41 kB / 1.365 GB, free: 12.74 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/1.547, allocations: 0 / 1.365 GB, free: 12.74 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/1.547, allocations: 6.469 kB / 1.365 GB, free: 12.74 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005807/1.547, allocations: 120.8 kB / 1.365 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.568e-05/1.547, allocations: 10.48 kB / 1.365 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009674/1.548, allocations: 70.58 kB / 1.365 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.64e-05/1.548, allocations: 24.61 kB / 1.365 GB, free: 12.69 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.0002924/1.548, allocations: 209.8 kB / 1.365 GB, free: 12.49 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003001/1.549, allocations: 107 kB / 1.365 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001647/1.55, allocations: 0.7403 MB / 1.366 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.817e-06/1.55, allocations: 2.781 kB / 1.366 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.226e-05/1.55, allocations: 6.094 kB / 1.366 GB, free: 12.13 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001286/1.552, allocations: 0.9011 MB / 1.367 GB, free: 11.51 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004477/1.556, allocations: 2.254 MB / 1.369 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.616e-06/1.556, allocations: 2.688 kB / 1.369 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006726/1.557, allocations: 136.5 kB / 1.369 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.346e-05/1.557, allocations: 6.312 kB / 1.369 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.651e-05/1.557, allocations: 24.39 kB / 1.369 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.227e-05/1.557, allocations: 7.469 kB / 1.369 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.685e-06/1.557, allocations: 3.703 kB / 1.369 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00217/1.559, allocations: 1.226 MB / 1.371 GB, free: 9.594 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005916/1.56, allocations: 258.5 kB / 1.371 GB, free: 9.398 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002444/1.56, allocations: 17.62 kB / 1.371 GB, free: 9.391 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008889/1.561, allocations: 46.97 kB / 1.371 GB, free: 9.375 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001443/1.561, allocations: 50.14 kB / 1.371 GB, free: 9.363 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.065e-05/1.561, allocations: 25.34 kB / 1.371 GB, free: 9.359 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001182/1.562, allocations: 0.5897 MB / 1.371 GB, free: 9.102 MB / 1.029 GB Notification: Performance of sort global known variables: time 3.3e-07/1.562, allocations: 0 / 1.371 GB, free: 9.102 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002339/1.565, allocations: 0.5305 MB / 1.372 GB, free: 9.004 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.0008039/1.566, allocations: 255.6 kB / 1.372 GB, free: 8.863 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00222/1.568, allocations: 0.9515 MB / 1.373 GB, free: 8.574 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/1.568, allocations: 0 / 1.373 GB, free: 8.574 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0006289/1.569, allocations: 342.1 kB / 1.373 GB, free: 8.473 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003094/1.572, allocations: 0.5962 MB / 1.374 GB, free: 8.285 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004308/1.576, allocations: 2.127 MB / 1.376 GB, free: 7.031 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001091/1.577, allocations: 1.125 MB / 1.377 GB, free: 6.277 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001297/1.578, allocations: 292.7 kB / 1.378 GB, free: 6.219 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002933/1.579, allocations: 81.92 kB / 1.378 GB, free: 6.207 MB / 1.029 GB Notification: Performance of SimCode: time 1.172e-06/1.579, allocations: 0 / 1.378 GB, free: 6.207 MB / 1.029 GB Notification: Performance of Templates: time 0.04359/1.622, allocations: 20.35 MB / 1.397 GB, free: 10.47 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