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.001611/0.001611, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002825/0.002825, allocations: 194 kB / 16.53 MB, free: 6.391 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.495/1.495, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.523/2.523, allocations: 390.2 MB / 0.6646 GB, free: 476 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 67.89 kB / 0.8125 GB, free: 14.47 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8179/0.8193, allocations: 140.4 MB / 0.9496 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.2605/1.08, allocations: 239.9 MB / 1.184 GB, free: 1.141 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01237/1.092, allocations: 7.213 MB / 1.191 GB, free: 9.918 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002122/1.094, allocations: 55.62 kB / 1.191 GB, free: 9.863 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.002229/1.097, allocations: 0.6988 MB / 1.192 GB, free: 9.16 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.00656/1.103, allocations: 2.069 MB / 1.194 GB, free: 7.082 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.006157/1.11, allocations: 2.025 MB / 1.196 GB, free: 5.066 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.006123/1.116, allocations: 3.269 MB / 1.199 GB, free: 1.785 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002049/1.118, allocations: 1.133 MB / 1.2 GB, free: 0.6289 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00668/1.124, allocations: 1.779 MB / 1.202 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003631/1.128, allocations: 0.9692 MB / 1.203 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0006284/1.129, allocations: 124 kB / 1.203 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007122/1.136, allocations: 2.483 MB / 1.205 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0007692/1.137, allocations: 462.7 kB / 1.206 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001356/1.138, allocations: 0.7233 MB / 1.206 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00659/1.145, allocations: 2.657 MB / 1.209 GB, free: 7.422 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.094e-06/1.145, allocations: 0 / 1.209 GB, free: 7.422 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.784e-06/1.145, allocations: 0 / 1.209 GB, free: 7.422 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.981e-05/1.145, allocations: 0 / 1.209 GB, free: 7.422 MB / 0.9669 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.003315/1.148, allocations: 1.705 MB / 1.211 GB, free: 5.664 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/1.148, allocations: 12.02 kB / 1.211 GB, free: 5.652 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002674/1.151, allocations: 422 kB / 1.211 GB, free: 5.238 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001777/1.153, allocations: 0.9676 MB / 1.212 GB, free: 4.227 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.744e-05/1.153, allocations: 62 kB / 1.212 GB, free: 4.164 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001375/1.153, allocations: 80 kB / 1.212 GB, free: 4.086 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001745/1.155, allocations: 0.8702 MB / 1.213 GB, free: 3.207 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.209e-05/1.155, allocations: 0 / 1.213 GB, free: 3.207 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.036e-05/1.155, allocations: 32 kB / 1.213 GB, free: 3.176 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.454e-05/1.155, allocations: 26 kB / 1.213 GB, free: 3.152 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001505/1.156, allocations: 0.8081 MB / 1.214 GB, free: 2.344 MB / 0.9669 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.004976/1.161, allocations: 3.678 MB / 1.217 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001648/1.163, allocations: 1.089 MB / 1.218 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006084/1.164, allocations: 374.3 kB / 1.219 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007185/1.164, allocations: 400.9 kB / 1.219 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.493e-05/1.164, allocations: 43.06 kB / 1.219 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=60): time 2.325e-06/1.164, allocations: 4 kB / 1.219 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of matching and sorting (n=60): time 0.002228/1.167, allocations: 0.9545 MB / 1.22 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.755e-05/1.167, allocations: 63.97 kB / 1.22 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001193/1.168, allocations: 0.836 MB / 1.221 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.365e-05/1.168, allocations: 41.7 kB / 1.221 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004096/1.168, allocations: 484.1 kB / 1.221 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001993/1.169, allocations: 212.9 kB / 1.222 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002886/1.169, allocations: 110.2 kB / 1.222 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001601/1.169, allocations: 330 kB / 1.222 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005039/1.17, allocations: 262.9 kB / 1.222 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006794/1.17, allocations: 363.5 kB / 1.223 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001149/1.171, allocations: 0.5852 MB / 1.223 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/1.171, allocations: 12.08 kB / 1.223 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001375/1.173, allocations: 0.7358 MB / 1.224 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/1.173, allocations: 8 kB / 1.224 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/1.173, allocations: 3.938 kB / 1.224 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/1.173, allocations: 4 kB / 1.224 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005711/1.173, allocations: 127.9 kB / 1.224 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/1.173, allocations: 4 kB / 1.224 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007324/1.174, allocations: 67.48 kB / 1.224 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.379e-05/1.174, allocations: 27.98 kB / 1.224 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008575/1.175, allocations: 497 kB / 1.225 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005809/1.176, allocations: 363.5 kB / 1.225 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001062/1.177, allocations: 0.5735 MB / 1.226 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.845e-06/1.177, allocations: 4 kB / 1.226 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001408/1.178, allocations: 0.728 MB / 1.226 GB, free: 4.758 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/1.178, allocations: 8 kB / 1.226 GB, free: 4.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/1.178, allocations: 3.984 kB / 1.226 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.801e-06/1.178, allocations: 4 kB / 1.226 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005322/1.179, allocations: 123.8 kB / 1.226 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.417e-06/1.179, allocations: 7.984 kB / 1.226 GB, free: 4.613 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007233/1.18, allocations: 63.78 kB / 1.227 GB, free: 4.551 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.54e-05/1.18, allocations: 23.98 kB / 1.227 GB, free: 4.527 MB / 0.9825 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.0002184/1.18, allocations: 212.7 kB / 1.227 GB, free: 4.312 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001641/1.18, allocations: 102.7 kB / 1.227 GB, free: 4.211 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001443/1.181, allocations: 0.7431 MB / 1.228 GB, free: 3.465 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/1.181, allocations: 11.94 kB / 1.228 GB, free: 3.453 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/1.181, allocations: 0 / 1.228 GB, free: 3.453 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001228/1.183, allocations: 0.9034 MB / 1.228 GB, free: 2.465 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00341/1.186, allocations: 2.24 MB / 1.231 GB, free: 92 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.583e-06/1.186, allocations: 4 kB / 1.231 GB, free: 88 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007032/1.187, allocations: 140.3 kB / 1.231 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.123e-05/1.187, allocations: 4 kB / 1.231 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.762e-05/1.187, allocations: 23.92 kB / 1.231 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.554e-06/1.187, allocations: 8 kB / 1.231 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.561e-06/1.187, allocations: 7.938 kB / 1.231 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001927/1.189, allocations: 1.225 MB / 1.232 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004195/1.189, allocations: 259.7 kB / 1.232 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001325/1.189, allocations: 24.11 kB / 1.232 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000655/1.19, allocations: 43.95 kB / 1.232 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/1.19, allocations: 48.27 kB / 1.232 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.525e-05/1.19, allocations: 23.98 kB / 1.232 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007659/1.191, allocations: 0.5862 MB / 1.233 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.81e-07/1.191, allocations: 4 kB / 1.233 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001226/1.192, allocations: 0.53 MB / 1.234 GB, free: 13.08 MB / 0.9981 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.0004879/1.193, allocations: 240.8 kB / 1.234 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001954/1.195, allocations: 1.009 MB / 1.235 GB, free: 11.83 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/1.195, allocations: 3.938 kB / 1.235 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005921/1.195, allocations: 339 kB / 1.235 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002702/1.198, allocations: 0.6004 MB / 1.236 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003491/1.202, allocations: 2.167 MB / 1.238 GB, free: 8.664 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007185/1.202, allocations: 1.12 MB / 1.239 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001171/1.204, allocations: 304.1 kB / 1.239 GB, free: 7.215 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002278/1.204, allocations: 83.42 kB / 1.239 GB, free: 7.133 MB / 0.9981 GB Notification: Performance of SimCode: time 7.52e-07/1.204, allocations: 0 / 1.239 GB, free: 7.133 MB / 0.9981 GB Notification: Performance of Templates: time 0.5704/1.774, allocations: 20.36 MB / 1.259 GB, free: 281.8 MB / 0.9981 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