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.001214/0.001214, allocations: 110.7 kB / 16.42 MB, free: 6.516 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.001166/0.001166, allocations: 192.3 kB / 17.35 MB, free: 5.738 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.389/1.389, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.503/2.503, allocations: 437 MB / 0.7112 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 59.91 kB / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.126/1.128, allocations: 151.6 MB / 1.167 GB, free: 3.82 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.2825/1.41, allocations: 239.9 MB / 1.402 GB, free: 3.039 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01329/1.424, allocations: 7.198 MB / 1.409 GB, free: 11.83 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002344/1.426, allocations: 51.69 kB / 1.409 GB, free: 11.78 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.002425/1.429, allocations: 0.73 MB / 1.409 GB, free: 11.04 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.007619/1.436, allocations: 2.167 MB / 1.411 GB, free: 8.867 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.00817/1.444, allocations: 2.058 MB / 1.413 GB, free: 6.816 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.008505/1.453, allocations: 3.292 MB / 1.417 GB, free: 3.52 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003304/1.456, allocations: 1.13 MB / 1.418 GB, free: 2.367 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00678/1.463, allocations: 1.853 MB / 1.42 GB, free: 0.5078 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003167/1.466, allocations: 0.9633 MB / 1.421 GB, free: 15.54 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.000548/1.467, allocations: 124 kB / 1.421 GB, free: 15.42 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006019/1.473, allocations: 2.498 MB / 1.423 GB, free: 12.92 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0008264/1.474, allocations: 462.7 kB / 1.424 GB, free: 12.46 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001748/1.476, allocations: 0.7194 MB / 1.424 GB, free: 11.74 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.006391/1.482, allocations: 2.68 MB / 1.427 GB, free: 9.055 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/1.482, allocations: 0 / 1.427 GB, free: 9.055 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.665e-06/1.482, allocations: 0 / 1.427 GB, free: 9.055 MB / 1.154 GB Notification: Performance of Transformations before backend: time 7.948e-05/1.482, allocations: 4 kB / 1.427 GB, free: 9.051 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.004858/1.487, allocations: 1.709 MB / 1.429 GB, free: 7.285 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 6.465e-05/1.487, allocations: 8.922 kB / 1.429 GB, free: 7.277 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003137/1.49, allocations: 421.9 kB / 1.429 GB, free: 6.863 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002864/1.493, allocations: 1.018 MB / 1.43 GB, free: 5.801 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.346e-05/1.493, allocations: 62 kB / 1.43 GB, free: 5.742 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003269/1.494, allocations: 95.83 kB / 1.43 GB, free: 5.648 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002247/1.496, allocations: 0.8585 MB / 1.431 GB, free: 4.785 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.517e-05/1.496, allocations: 0 / 1.431 GB, free: 4.785 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001358/1.496, allocations: 36 kB / 1.431 GB, free: 4.75 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.8e-05/1.496, allocations: 30 kB / 1.431 GB, free: 4.719 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001804/1.498, allocations: 0.8119 MB / 1.432 GB, free: 3.906 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.006704/1.505, allocations: 3.639 MB / 1.435 GB, free: 15.96 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00179/1.506, allocations: 1.104 MB / 1.436 GB, free: 14.75 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006885/1.507, allocations: 374.1 kB / 1.437 GB, free: 14.38 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008271/1.508, allocations: 408.8 kB / 1.437 GB, free: 13.91 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.904e-05/1.508, allocations: 43.12 kB / 1.437 GB, free: 13.86 MB / 1.17 GB Notification: Performance of pre-optimization done (n=60): time 3.096e-06/1.508, allocations: 4 kB / 1.437 GB, free: 13.86 MB / 1.17 GB Notification: Performance of matching and sorting (n=60): time 0.002528/1.511, allocations: 0.9467 MB / 1.438 GB, free: 12.91 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/1.511, allocations: 59.97 kB / 1.438 GB, free: 12.84 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001508/1.512, allocations: 0.8399 MB / 1.439 GB, free: 11.97 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001018/1.512, allocations: 37.7 kB / 1.439 GB, free: 11.93 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004632/1.513, allocations: 484.1 kB / 1.44 GB, free: 11.45 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002834/1.513, allocations: 216.8 kB / 1.44 GB, free: 11.23 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002413/1.513, allocations: 110.2 kB / 1.44 GB, free: 11.12 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001795/1.513, allocations: 326 kB / 1.44 GB, free: 10.8 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000547/1.514, allocations: 262.9 kB / 1.44 GB, free: 10.54 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006834/1.515, allocations: 363.5 kB / 1.441 GB, free: 10.15 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001155/1.516, allocations: 0.5891 MB / 1.441 GB, free: 9.547 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/1.516, allocations: 4 kB / 1.441 GB, free: 9.543 MB / 1.17 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001664/1.518, allocations: 0.7359 MB / 1.442 GB, free: 8.797 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.807e-05/1.518, allocations: 4 kB / 1.442 GB, free: 8.793 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/1.518, allocations: 4 kB / 1.442 GB, free: 8.789 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.859e-05/1.518, allocations: 4 kB / 1.442 GB, free: 8.785 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006139/1.518, allocations: 131.9 kB / 1.442 GB, free: 8.656 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.221e-05/1.518, allocations: 7.984 kB / 1.442 GB, free: 8.648 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009439/1.519, allocations: 67.5 kB / 1.442 GB, free: 8.582 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.872e-05/1.519, allocations: 23.98 kB / 1.442 GB, free: 8.559 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009394/1.52, allocations: 497 kB / 1.443 GB, free: 8.07 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005879/1.521, allocations: 359.5 kB / 1.443 GB, free: 7.688 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001082/1.522, allocations: 0.5851 MB / 1.444 GB, free: 7.09 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.645e-06/1.522, allocations: 0 / 1.444 GB, free: 7.09 MB / 1.17 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001547/1.524, allocations: 0.7204 MB / 1.444 GB, free: 6.359 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/1.524, allocations: 10.44 kB / 1.444 GB, free: 6.352 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/1.524, allocations: 0 / 1.444 GB, free: 6.352 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.312e-06/1.524, allocations: 4 kB / 1.444 GB, free: 6.348 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005689/1.524, allocations: 131.8 kB / 1.444 GB, free: 6.219 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/1.524, allocations: 0 / 1.444 GB, free: 6.219 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008777/1.525, allocations: 71.67 kB / 1.445 GB, free: 6.148 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.561e-05/1.525, allocations: 20 kB / 1.445 GB, free: 6.129 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.0002512/1.525, allocations: 208.1 kB / 1.445 GB, free: 5.918 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003022/1.526, allocations: 106.9 kB / 1.445 GB, free: 5.812 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00165/1.527, allocations: 0.7471 MB / 1.446 GB, free: 5.059 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001309/1.529, allocations: 0.9072 MB / 1.447 GB, free: 4.066 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/1.529, allocations: 0 / 1.447 GB, free: 4.066 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005873/1.529, allocations: 255.7 kB / 1.447 GB, free: 3.797 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002069/1.529, allocations: 12 kB / 1.447 GB, free: 3.785 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007532/1.53, allocations: 39.95 kB / 1.447 GB, free: 3.746 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/1.53, allocations: 36.52 kB / 1.447 GB, free: 3.711 MB / 1.17 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001837/1.532, allocations: 0.807 MB / 1.448 GB, free: 2.898 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002059/1.534, allocations: 1.24 MB / 1.449 GB, free: 1.637 MB / 1.17 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005363/1.535, allocations: 320.4 kB / 1.449 GB, free: 1.328 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0009895/1.536, allocations: 0.5823 MB / 1.45 GB, free: 0.7344 MB / 1.17 GB Notification: Performance of Backend: time 8.92e-07/1.536, allocations: 0 / 1.45 GB, free: 0.7344 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.003857/1.54, allocations: 1.263 MB / 1.451 GB, free: 15.46 MB / 1.186 GB Notification: Performance of SimCode: time 0.005514/1.545, allocations: 2.806 MB / 1.454 GB, free: 12.61 MB / 1.186 GB Notification: Performance of Templates: time 0.04941/1.595, allocations: 27.65 MB / 1.481 GB, free: 1.227 MB / 1.201 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FixedResistances.Examples.FlowJunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches