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.007374/0.007374, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001305/0.001304, allocations: 199.9 kB / 16.68 MB, free: 5.969 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.416/1.416, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.588/2.588, allocations: 390.2 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 66.17 kB / 0.9508 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.3382, allocations: 140.4 MB / 1.088 GB, free: 1.492 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 1.146/1.484, allocations: 239.9 MB / 1.322 GB, free: 8.941 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01335/1.497, allocations: 7.201 MB / 1.329 GB, free: 8.75 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003587/1.501, allocations: 54.66 kB / 1.329 GB, free: 8.75 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.00315/1.504, allocations: 0.7245 MB / 1.33 GB, free: 8.738 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.008456/1.513, allocations: 2.168 MB / 1.332 GB, free: 8.645 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.007066/1.52, allocations: 2.061 MB / 1.334 GB, free: 8.582 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.007085/1.527, allocations: 3.275 MB / 1.337 GB, free: 8.527 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002526/1.53, allocations: 1.144 MB / 1.338 GB, free: 8.398 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005736/1.535, allocations: 1.849 MB / 1.34 GB, free: 8.266 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00303/1.538, allocations: 0.9607 MB / 1.341 GB, free: 8.113 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0004164/1.539, allocations: 120.8 kB / 1.341 GB, free: 8.113 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008587/1.547, allocations: 2.504 MB / 1.344 GB, free: 7.906 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001194/1.549, allocations: 460.1 kB / 1.344 GB, free: 7.711 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002167/1.551, allocations: 0.7222 MB / 1.345 GB, free: 7.293 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.008719/1.56, allocations: 2.688 MB / 1.347 GB, free: 6.496 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/1.56, allocations: 3.938 kB / 1.347 GB, free: 6.492 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.156e-06/1.56, allocations: 3.469 kB / 1.347 GB, free: 6.492 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.079e-05/1.56, allocations: 2.625 kB / 1.347 GB, free: 6.492 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.002967/1.563, allocations: 1.749 MB / 1.349 GB, free: 5.344 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/1.563, allocations: 10.91 kB / 1.349 GB, free: 5.344 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002603/1.565, allocations: 438.4 kB / 1.35 GB, free: 5.23 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001642/1.567, allocations: 1.026 MB / 1.351 GB, free: 4.676 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.764e-05/1.567, allocations: 66.09 kB / 1.351 GB, free: 4.645 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001311/1.567, allocations: 85.81 kB / 1.351 GB, free: 4.613 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001445/1.569, allocations: 0.8576 MB / 1.352 GB, free: 4.277 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.455e-05/1.569, allocations: 2.281 kB / 1.352 GB, free: 4.277 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.65e-05/1.569, allocations: 38.94 kB / 1.352 GB, free: 4.25 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.444e-05/1.569, allocations: 28.47 kB / 1.352 GB, free: 4.25 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001314/1.57, allocations: 0.8072 MB / 1.352 GB, free: 3.973 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.004479/1.575, allocations: 3.656 MB / 1.356 GB, free: 1.562 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001357/1.576, allocations: 1.091 MB / 1.357 GB, free: 0.7461 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005462/1.577, allocations: 373.1 kB / 1.357 GB, free: 0.6133 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006376/1.577, allocations: 409.4 kB / 1.358 GB, free: 236 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/1.577, allocations: 41.38 kB / 1.358 GB, free: 188 kB / 1.014 GB Notification: Performance of pre-optimization done (n=60): time 2.795e-06/1.577, allocations: 0 / 1.358 GB, free: 188 kB / 1.014 GB Notification: Performance of matching and sorting (n=60): time 0.002125/1.579, allocations: 0.9677 MB / 1.359 GB, free: 15.82 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.843e-05/1.579, allocations: 56.31 kB / 1.359 GB, free: 15.76 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001192/1.581, allocations: 0.8344 MB / 1.36 GB, free: 15.41 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.000145/1.581, allocations: 42.77 kB / 1.36 GB, free: 15.37 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004124/1.581, allocations: 487.4 kB / 1.36 GB, free: 14.99 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002301/1.581, allocations: 222 kB / 1.36 GB, free: 14.82 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001971/1.582, allocations: 116.5 kB / 1.361 GB, free: 14.76 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000144/1.582, allocations: 328.8 kB / 1.361 GB, free: 14.44 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004783/1.582, allocations: 259 kB / 1.361 GB, free: 14.35 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005749/1.583, allocations: 368.1 kB / 1.361 GB, free: 14.16 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001017/1.584, allocations: 0.5859 MB / 1.362 GB, free: 13.89 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.157e-06/1.584, allocations: 2.531 kB / 1.362 GB, free: 13.89 MB / 1.029 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001409/1.585, allocations: 0.7392 MB / 1.363 GB, free: 13.59 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/1.585, allocations: 7.344 kB / 1.363 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/1.585, allocations: 4.625 kB / 1.363 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/1.585, allocations: 2.625 kB / 1.363 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005599/1.586, allocations: 131.1 kB / 1.363 GB, free: 13.58 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.465e-05/1.586, allocations: 5.406 kB / 1.363 GB, free: 13.58 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000796/1.587, allocations: 75.02 kB / 1.363 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.129e-05/1.587, allocations: 22.39 kB / 1.363 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007863/1.588, allocations: 0.4891 MB / 1.363 GB, free: 13.29 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005846/1.588, allocations: 358.7 kB / 1.364 GB, free: 13.1 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001069/1.589, allocations: 0.5807 MB / 1.364 GB, free: 12.84 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.883e-06/1.589, allocations: 0 / 1.364 GB, free: 12.84 MB / 1.029 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001508/1.591, allocations: 0.7222 MB / 1.365 GB, free: 12.55 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/1.591, allocations: 7.25 kB / 1.365 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/1.591, allocations: 5.875 kB / 1.365 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.208e-06/1.591, allocations: 9.125 kB / 1.365 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005388/1.591, allocations: 123 kB / 1.365 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/1.591, allocations: 7.125 kB / 1.365 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007658/1.592, allocations: 67.92 kB / 1.365 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.431e-05/1.592, allocations: 18.48 kB / 1.365 GB, free: 12.5 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.000301/1.593, allocations: 222.5 kB / 1.366 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001635/1.593, allocations: 106 kB / 1.366 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001395/1.594, allocations: 0.7431 MB / 1.366 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/1.594, allocations: 4.312 kB / 1.366 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/1.594, allocations: 6.609 kB / 1.366 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001202/1.595, allocations: 0.9069 MB / 1.367 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003909/1.599, allocations: 2.25 MB / 1.369 GB, free: 10.06 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/1.599, allocations: 3.156 kB / 1.369 GB, free: 10.06 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006254/1.6, allocations: 132.9 kB / 1.37 GB, free: 10.06 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.058e-05/1.6, allocations: 4.406 kB / 1.37 GB, free: 10.06 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.755e-05/1.6, allocations: 25.06 kB / 1.37 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.835e-06/1.6, allocations: 4.406 kB / 1.37 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/1.6, allocations: 6.5 kB / 1.37 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001851/1.602, allocations: 1.241 MB / 1.371 GB, free: 9.387 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004749/1.602, allocations: 261 kB / 1.371 GB, free: 9.191 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001238/1.603, allocations: 14.39 kB / 1.371 GB, free: 9.184 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000644/1.603, allocations: 38.8 kB / 1.371 GB, free: 9.176 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/1.603, allocations: 59.14 kB / 1.371 GB, free: 9.16 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.233e-05/1.603, allocations: 21.64 kB / 1.371 GB, free: 9.156 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000801/1.604, allocations: 0.5874 MB / 1.372 GB, free: 8.902 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.5e-07/1.604, allocations: 0 / 1.372 GB, free: 8.902 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.00134/1.605, allocations: 0.5369 MB / 1.372 GB, free: 8.797 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.0005615/1.606, allocations: 244.8 kB / 1.373 GB, free: 8.656 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0019/1.608, allocations: 0.9532 MB / 1.373 GB, free: 8.363 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/1.608, allocations: 0 / 1.373 GB, free: 8.363 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005876/1.609, allocations: 340.1 kB / 1.374 GB, free: 8.27 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002611/1.611, allocations: 0.6119 MB / 1.374 GB, free: 8.074 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003423/1.615, allocations: 2.169 MB / 1.376 GB, free: 6.773 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007896/1.615, allocations: 1.12 MB / 1.378 GB, free: 6.023 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001193/1.617, allocations: 300.5 kB / 1.378 GB, free: 5.961 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002203/1.617, allocations: 84.73 kB / 1.378 GB, free: 5.945 MB / 1.029 GB Notification: Performance of SimCode: time 8.92e-07/1.617, allocations: 0 / 1.378 GB, free: 5.945 MB / 1.029 GB Notification: Performance of Templates: time 0.04062/1.658, allocations: 20.49 MB / 1.398 GB, free: 9.98 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