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.001581/0.001581, 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.002044/0.002044, allocations: 194.8 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.435/1.435, allocations: 222.9 MB / 240.2 MB, free: 4.383 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.658/2.658, allocations: 437 MB / 0.7103 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 63.91 kB / 0.8692 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9579/0.9592, allocations: 151.6 MB / 1.017 GB, free: 2.715 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.3595/1.319, allocations: 239.9 MB / 1.252 GB, free: 1.922 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.8576/2.176, allocations: 7.185 MB / 1.259 GB, free: 19.94 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004347/2.181, allocations: 54.81 kB / 1.259 GB, free: 19.94 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004548/2.185, allocations: 0.6997 MB / 1.259 GB, free: 19.93 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01308/2.198, allocations: 2.076 MB / 1.261 GB, free: 19.86 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01059/2.209, allocations: 2.014 MB / 1.263 GB, free: 19.8 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01092/2.22, allocations: 3.269 MB / 1.266 GB, free: 19.8 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00384/2.224, allocations: 1.132 MB / 1.268 GB, free: 19.71 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009551/2.234, allocations: 1.782 MB / 1.269 GB, free: 19.69 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005164/2.239, allocations: 0.9655 MB / 1.27 GB, free: 19.68 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001262/2.24, allocations: 121 kB / 1.27 GB, free: 19.68 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01281/2.253, allocations: 2.486 MB / 1.273 GB, free: 19.66 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002287/2.255, allocations: 462.8 kB / 1.273 GB, free: 19.66 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.004653/2.26, allocations: 0.7243 MB / 1.274 GB, free: 19.66 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01501/2.275, allocations: 2.652 MB / 1.277 GB, free: 19.51 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 1.012e-05/2.275, allocations: 0 / 1.277 GB, free: 19.51 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.887e-06/2.275, allocations: 0.9688 kB / 1.277 GB, free: 19.51 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001376/2.275, allocations: 0 / 1.277 GB, free: 19.51 MB / 0.9981 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.009516/2.285, allocations: 1.712 MB / 1.278 GB, free: 18.61 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 7.348e-05/2.285, allocations: 8.969 kB / 1.278 GB, free: 18.61 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00607/2.291, allocations: 425.6 kB / 1.279 GB, free: 18.54 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004777/2.296, allocations: 0.9567 MB / 1.28 GB, free: 18.19 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001705/2.296, allocations: 67.66 kB / 1.28 GB, free: 18.19 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005101/2.297, allocations: 80.84 kB / 1.28 GB, free: 18.19 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003779/2.3, allocations: 0.871 MB / 1.281 GB, free: 18.13 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.911e-05/2.3, allocations: 3.938 kB / 1.281 GB, free: 18.13 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001476/2.301, allocations: 35.34 kB / 1.281 GB, free: 18.13 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-05/2.301, allocations: 28.59 kB / 1.281 GB, free: 18.13 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003018/2.304, allocations: 0.8084 MB / 1.281 GB, free: 18.12 MB / 0.9981 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.008809/2.313, allocations: 3.674 MB / 1.285 GB, free: 16.51 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002479/2.315, allocations: 1.098 MB / 1.286 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001071/2.316, allocations: 368 kB / 1.286 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001044/2.317, allocations: 404.5 kB / 1.287 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.365e-05/2.317, allocations: 45.89 kB / 1.287 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=60): time 4.999e-06/2.317, allocations: 0.9062 kB / 1.287 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of matching and sorting (n=60): time 0.004039/2.321, allocations: 0.9577 MB / 1.288 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.283e-05/2.321, allocations: 58.5 kB / 1.288 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002349/2.324, allocations: 0.8398 MB / 1.289 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001235/2.324, allocations: 35.83 kB / 1.289 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005633/2.324, allocations: 485.9 kB / 1.289 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003122/2.325, allocations: 216.3 kB / 1.289 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002983/2.325, allocations: 109.2 kB / 1.289 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.604e-05/2.325, allocations: 332.8 kB / 1.29 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007777/2.326, allocations: 253.2 kB / 1.29 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008708/2.327, allocations: 368.3 kB / 1.29 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001707/2.329, allocations: 0.5909 MB / 1.291 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-06/2.329, allocations: 1.094 kB / 1.291 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002657/2.331, allocations: 0.7297 MB / 1.292 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.488e-05/2.331, allocations: 6.594 kB / 1.292 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/2.331, allocations: 0.875 kB / 1.292 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.93e-05/2.331, allocations: 9.938 kB / 1.292 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/2.332, allocations: 129.7 kB / 1.292 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.15e-05/2.333, allocations: 6.031 kB / 1.292 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001664/2.334, allocations: 69.39 kB / 1.292 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001156/2.334, allocations: 23.28 kB / 1.292 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001513/2.336, allocations: 499.4 kB / 1.292 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009458/2.337, allocations: 361.5 kB / 1.293 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001684/2.339, allocations: 0.5782 MB / 1.293 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.708e-06/2.339, allocations: 1 kB / 1.293 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.002494/2.341, allocations: 0.723 MB / 1.294 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/2.341, allocations: 7.469 kB / 1.294 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/2.341, allocations: 2.375 kB / 1.294 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/2.341, allocations: 2.406 kB / 1.294 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009506/2.342, allocations: 131.5 kB / 1.294 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.532e-05/2.342, allocations: 5.656 kB / 1.294 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001714/2.344, allocations: 61.62 kB / 1.294 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.543e-05/2.344, allocations: 25.73 kB / 1.294 GB, free: 13.9 MB / 0.9981 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.0003138/2.344, allocations: 219.4 kB / 1.294 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004626/2.345, allocations: 101 kB / 1.295 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002413/2.347, allocations: 0.7422 MB / 1.295 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.436e-05/2.347, allocations: 6.938 kB / 1.295 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/2.347, allocations: 0 / 1.295 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00181/2.349, allocations: 0.9081 MB / 1.296 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00604/2.355, allocations: 2.249 MB / 1.298 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-05/2.355, allocations: 5.25 kB / 1.298 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001018/2.356, allocations: 136.1 kB / 1.298 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.888e-05/2.356, allocations: 5.062 kB / 1.298 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.623e-05/2.356, allocations: 22.98 kB / 1.299 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.48e-05/2.356, allocations: 6.875 kB / 1.299 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.185e-06/2.356, allocations: 6.781 kB / 1.299 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00333/2.36, allocations: 1.222 MB / 1.3 GB, free: 12.17 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009929/2.361, allocations: 256.7 kB / 1.3 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005158/2.361, allocations: 23.17 kB / 1.3 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001507/2.363, allocations: 40.7 kB / 1.3 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002161/2.363, allocations: 50.61 kB / 1.3 GB, free: 12.01 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001049/2.363, allocations: 28.05 kB / 1.3 GB, free: 12.01 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001753/2.365, allocations: 0.5835 MB / 1.301 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.91e-07/2.365, allocations: 0 / 1.301 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003181/2.368, allocations: 0.5418 MB / 1.301 GB, free: 11.82 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.0009567/2.369, allocations: 246.7 kB / 1.301 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003569/2.373, allocations: 1 MB / 1.302 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/2.373, allocations: 0.7812 kB / 1.302 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009948/2.374, allocations: 345.2 kB / 1.303 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005205/2.379, allocations: 0.6085 MB / 1.303 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005787/2.385, allocations: 2.164 MB / 1.305 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001181/2.386, allocations: 1.121 MB / 1.307 GB, free: 9.914 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002213/2.388, allocations: 302.6 kB / 1.307 GB, free: 9.848 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004291/2.389, allocations: 81.31 kB / 1.307 GB, free: 9.84 MB / 0.9981 GB Notification: Performance of SimCode: time 9.92e-07/2.389, allocations: 0 / 1.307 GB, free: 9.84 MB / 0.9981 GB Notification: Performance of Templates: time 0.04261/2.431, allocations: 20.38 MB / 1.327 GB, free: 6.629 MB / 0.9981 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