Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Pipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pip.vol.1..T|pip.vol.5..T|pip.vol.10..T",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe") translateModel(Buildings.Fluid.FixedResistances.Examples.Pipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pip.vol.1..T|pip.vol.5..T|pip.vol.10..T",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.001238/0.001238, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.531/1.531, allocations: 223.3 MB / 240 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.11/3.11, allocations: 462.6 MB / 0.736 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004062/0.0004063, allocations: 16.19 kB / 0.9021 GB, free: 36.73 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3807/0.3811, allocations: 159.6 MB / 1.058 GB, free: 5.34 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.Pipe): time 0.04505/0.4262, allocations: 42.38 MB / 1.099 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01595/0.4422, allocations: 10.81 MB / 1.11 GB, free: 8 kB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001702/0.4439, allocations: 55.73 kB / 1.11 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001521/0.4454, allocations: 492.8 kB / 1.11 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.004957/0.4504, allocations: 1.763 MB / 1.112 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.004542/0.455, allocations: 1.118 MB / 1.113 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.02667/0.4816, allocations: 24.92 MB / 1.138 GB, free: 3.609 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01159/0.4933, allocations: 6.422 MB / 1.144 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01353/0.5069, allocations: 5.447 MB / 1.149 GB, free: 7.648 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01173/0.5186, allocations: 5.312 MB / 1.154 GB, free: 2.312 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.002016/0.5207, allocations: 291.9 kB / 1.155 GB, free: 2.027 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007142/0.5278, allocations: 1.08 MB / 1.156 GB, free: 0.9453 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.003241/0.5311, allocations: 1.35 MB / 1.157 GB, free: 15.59 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0038/0.5349, allocations: 1.584 MB / 1.159 GB, free: 14 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.01329/0.5483, allocations: 10.26 MB / 1.169 GB, free: 3.715 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 9.348e-06/0.5483, allocations: 0 / 1.169 GB, free: 3.715 MB / 0.92 GB Notification: Performance of FrontEnd: time 4.098e-06/0.5483, allocations: 0 / 1.169 GB, free: 3.715 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0005169/0.5489, allocations: 0 / 1.169 GB, free: 3.715 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1302 * Number of variables: 1302 Notification: Performance of Generate backend data structure: time 0.01593/0.5648, allocations: 6.72 MB / 1.175 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.5649, allocations: 12.03 kB / 1.175 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004107/0.569, allocations: 0.8579 MB / 1.176 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0162/0.5852, allocations: 7.615 MB / 1.183 GB, free: 4.336 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004438/0.5857, allocations: 415.9 kB / 1.184 GB, free: 3.922 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001744/0.5874, allocations: 0.5115 MB / 1.184 GB, free: 3.41 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01638/0.6038, allocations: 7.64 MB / 1.192 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001277/0.604, allocations: 27.78 kB / 1.192 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006424/0.6047, allocations: 224 kB / 1.192 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001757/0.6048, allocations: 163.9 kB / 1.192 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01235/0.6172, allocations: 6.04 MB / 1.198 GB, free: 5.016 MB / 0.9512 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.04654/0.6638, allocations: 29.27 MB / 1.227 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005348/0.6692, allocations: 3.388 MB / 1.23 GB, free: 3.102 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002911/0.6721, allocations: 1.948 MB / 1.232 GB, free: 1.152 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001118/0.6733, allocations: 0.9982 MB / 1.233 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.9e-05/0.6734, allocations: 77.06 kB / 1.233 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=253): time 4.068e-06/0.6734, allocations: 3.938 kB / 1.233 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of matching and sorting (n=253): time 0.008418/0.6818, allocations: 4.691 MB / 1.238 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.027e-05/0.6819, allocations: 77.41 kB / 1.238 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01079/0.6927, allocations: 6.111 MB / 1.244 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000767/0.6935, allocations: 81.7 kB / 1.244 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003266/0.6968, allocations: 2.98 MB / 1.247 GB, free: 1.859 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001484/0.6983, allocations: 0.9013 MB / 1.247 GB, free: 0.9453 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002162/0.6985, allocations: 64 kB / 1.248 GB, free: 0.8828 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002586/0.6988, allocations: 453.1 kB / 1.248 GB, free: 444 kB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.6644/1.363, allocations: 1.62 MB / 1.25 GB, free: 170.2 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004613/1.368, allocations: 2.678 MB / 1.252 GB, free: 169 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003717/1.372, allocations: 2.205 MB / 1.254 GB, free: 168.9 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.15e-05/1.372, allocations: 11.16 kB / 1.254 GB, free: 168.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.0089/1.381, allocations: 4.941 MB / 1.259 GB, free: 168.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005498/1.381, allocations: 1.029 MB / 1.26 GB, free: 167.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.753e-05/1.381, allocations: 32.88 kB / 1.26 GB, free: 167.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.006e-05/1.381, allocations: 55.19 kB / 1.26 GB, free: 167.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003107/1.384, allocations: 0.8089 MB / 1.261 GB, free: 167.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006924/1.385, allocations: 1.256 MB / 1.262 GB, free: 166.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005887/1.391, allocations: 0.6086 MB / 1.263 GB, free: 166.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006819/1.392, allocations: 161.1 kB / 1.263 GB, free: 166.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/1.392, allocations: 4.344 kB / 1.263 GB, free: 166.2 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009216/1.401, allocations: 4.426 MB / 1.267 GB, free: 165.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001068/1.401, allocations: 32.22 kB / 1.267 GB, free: 165.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001324/1.401, allocations: 53.91 kB / 1.267 GB, free: 165.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003426/1.405, allocations: 0.7844 MB / 1.268 GB, free: 165.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000105/1.405, allocations: 67.66 kB / 1.268 GB, free: 165.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005789/1.411, allocations: 0.554 MB / 1.269 GB, free: 165.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000701/1.411, allocations: 162.1 kB / 1.269 GB, free: 165.8 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 142 * 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 (436): * Single equations (assignments): 434 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006052/1.417, allocations: 2.527 MB / 1.271 GB, free: 165.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002195/1.42, allocations: 0.5571 MB / 1.272 GB, free: 165.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007623/1.427, allocations: 3.91 MB / 1.276 GB, free: 165 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.795e-05/1.427, allocations: 25.89 kB / 1.276 GB, free: 165 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.321e-05/1.427, allocations: 1.719 kB / 1.276 GB, free: 165 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004804/1.432, allocations: 2.99 MB / 1.279 GB, free: 164 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0215/1.454, allocations: 9.75 MB / 1.288 GB, free: 160.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-05/1.454, allocations: 2.734 kB / 1.288 GB, free: 160.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002213/1.456, allocations: 0.5873 MB / 1.289 GB, free: 160.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.067e-05/1.456, allocations: 11.72 kB / 1.289 GB, free: 160.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001774/1.456, allocations: 75.12 kB / 1.289 GB, free: 160.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000411/1.457, allocations: 1.194 MB / 1.29 GB, free: 159 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/1.457, allocations: 0 / 1.29 GB, free: 159 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00872/1.465, allocations: 5.645 MB / 1.296 GB, free: 156.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004022/1.469, allocations: 1.313 MB / 1.297 GB, free: 155.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001559/1.471, allocations: 62.2 kB / 1.297 GB, free: 155.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004965/1.476, allocations: 391.6 kB / 1.297 GB, free: 155.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003263/1.476, allocations: 148.5 kB / 1.297 GB, free: 155.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004179/1.477, allocations: 142.7 kB / 1.298 GB, free: 155.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.008049/1.485, allocations: 4.3 MB / 1.302 GB, free: 153 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6.21e-07/1.485, allocations: 0 / 1.302 GB, free: 153 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.01373/1.499, allocations: 3.24 MB / 1.305 GB, free: 151.2 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 22 (pip.vol[1].dynBal.U,pip.vol[2].dynBal.U,pip.vol[3].dynBal.U,pip.vol[4].dynBal.U,pip.vol[5].dynBal.U,pip.vol[6].dynBal.U,pip.vol[7].dynBal.U,pip.vol[8].dynBal.U,pip.vol[9].dynBal.U,pip.vol[10].dynBal.U,pip1.vol[1].dynBal.U,pip1.vol[2].dynBal.U,pip1.vol[3].dynBal.U,pip1.vol[4].dynBal.U,pip1.vol[5].dynBal.U,pip1.vol[6].dynBal.U,pip1.vol[7].dynBal.U,pip1.vol[8].dynBal.U,pip1.vol[9].dynBal.U,pip1.vol[10].dynBal.U,senTem.T,senTem1.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 (259): * Single equations (assignments): 251 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001683/1.5, allocations: 477.8 kB / 1.305 GB, free: 150.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01026/1.511, allocations: 6 MB / 1.311 GB, free: 144.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.417e-05/1.511, allocations: 4.562 kB / 1.311 GB, free: 144.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002353/1.513, allocations: 1.592 MB / 1.313 GB, free: 143.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0213/1.534, allocations: 3.946 MB / 1.317 GB, free: 139.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03269/1.567, allocations: 15.93 MB / 1.332 GB, free: 123.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007493/1.575, allocations: 4.558 MB / 1.337 GB, free: 118.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.01267/1.587, allocations: 2.862 MB / 1.339 GB, free: 115.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002366/1.59, allocations: 471.2 kB / 1.34 GB, free: 115.4 MB / 0.9981 GB Notification: Performance of SimCode: time 1.222e-06/1.59, allocations: 0 / 1.34 GB, free: 115.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.1807/1.77, allocations: 124.9 MB / 1.462 GB, free: 7.738 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Examples_Pipe.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches