Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Pipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pip.vol.1..T|pip.vol.5..T|pip.vol.10..T",fileNamePrefix="Buildings_11_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_11_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.001245/0.001245, allocations: 91.84 kB / 15.36 MB, free: 0.7344 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.01127/0.01127, allocations: 169.8 kB / 16.26 MB, free: 6.68 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.652/1.652, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.016/3.016, allocations: 470.6 MB / 0.7442 GB, free: 8.91 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003765/0.0003765, allocations: 12.94 kB / 0.9123 GB, free: 34.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3933/0.3937, allocations: 161.4 MB / 1.07 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.Pipe): time 0.05339/0.4472, allocations: 44.79 MB / 1.114 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01975/0.4669, allocations: 11.45 MB / 1.125 GB, free: 2.984 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002401/0.4694, allocations: 51.69 kB / 1.125 GB, free: 2.934 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002456/0.4719, allocations: 0.5632 MB / 1.125 GB, free: 2.367 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.007946/0.4798, allocations: 2.052 MB / 1.127 GB, free: 316 kB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.004512/0.4844, allocations: 1.368 MB / 1.129 GB, free: 14.95 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.03553/0.5199, allocations: 29.34 MB / 1.157 GB, free: 1.539 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01285/0.5328, allocations: 7.327 MB / 1.165 GB, free: 10.12 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01307/0.5459, allocations: 5.372 MB / 1.17 GB, free: 4.727 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01153/0.5575, allocations: 5.63 MB / 1.175 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.001733/0.5593, allocations: 288 kB / 1.176 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006432/0.5657, allocations: 1.392 MB / 1.177 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.002749/0.5685, allocations: 1.431 MB / 1.178 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.007761/0.5763, allocations: 3.752 MB / 1.182 GB, free: 8.18 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.01729/0.5936, allocations: 12.22 MB / 1.194 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.5936, allocations: 0 / 1.194 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.675e-06/0.5936, allocations: 0 / 1.194 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0004194/0.5941, allocations: 4 kB / 1.194 GB, free: 11.91 MB / 0.9512 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.01623/0.6103, allocations: 6.646 MB / 1.2 GB, free: 5.184 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/0.6104, allocations: 15.97 kB / 1.2 GB, free: 5.168 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004601/0.615, allocations: 0.8586 MB / 1.201 GB, free: 4.301 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01687/0.6319, allocations: 7.802 MB / 1.209 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004797/0.6324, allocations: 415.9 kB / 1.209 GB, free: 12 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001664/0.6341, allocations: 0.5115 MB / 1.21 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01674/0.6508, allocations: 7.671 MB / 1.217 GB, free: 3.527 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001893/0.651, allocations: 27.78 kB / 1.217 GB, free: 3.5 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008076/0.6519, allocations: 224 kB / 1.218 GB, free: 3.281 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002211/0.6521, allocations: 171.9 kB / 1.218 GB, free: 3.113 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01265/0.6648, allocations: 6.079 MB / 1.224 GB, free: 13.02 MB / 0.9825 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.6859/1.351, allocations: 29.29 MB / 1.252 GB, free: 160.3 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006219/1.357, allocations: 3.397 MB / 1.256 GB, free: 160.3 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002522/1.359, allocations: 1.963 MB / 1.257 GB, free: 160.2 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008901/1.36, allocations: 1.002 MB / 1.258 GB, free: 159.2 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.553e-05/1.361, allocations: 83.14 kB / 1.259 GB, free: 159.2 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=253): time 5.991e-06/1.361, allocations: 0 / 1.259 GB, free: 159.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=253): time 0.008908/1.369, allocations: 4.715 MB / 1.263 GB, free: 159.1 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.645e-05/1.37, allocations: 76.31 kB / 1.263 GB, free: 159 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01452/1.384, allocations: 6.149 MB / 1.269 GB, free: 158.3 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0008119/1.385, allocations: 83.61 kB / 1.269 GB, free: 158.3 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00336/1.388, allocations: 2.979 MB / 1.272 GB, free: 156.1 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001533/1.39, allocations: 0.9006 MB / 1.273 GB, free: 155.4 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005148/1.39, allocations: 288.2 kB / 1.273 GB, free: 155.3 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.089e-05/1.39, allocations: 303.1 kB / 1.274 GB, free: 155 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003008/1.393, allocations: 1.634 MB / 1.275 GB, free: 154.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003639/1.397, allocations: 2.682 MB / 1.278 GB, free: 152.7 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00676/1.404, allocations: 4.604 MB / 1.282 GB, free: 150.1 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.522e-05/1.404, allocations: 13.25 kB / 1.282 GB, free: 150.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.01222/1.416, allocations: 4.978 MB / 1.287 GB, free: 148.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006011/1.417, allocations: 1.028 MB / 1.288 GB, free: 146.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.366e-05/1.417, allocations: 35.34 kB / 1.288 GB, free: 146.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.951e-05/1.417, allocations: 53.83 kB / 1.288 GB, free: 146.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003426/1.42, allocations: 0.803 MB / 1.289 GB, free: 146.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006501/1.421, allocations: 1.254 MB / 1.29 GB, free: 145.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006647/1.428, allocations: 0.6187 MB / 1.291 GB, free: 145.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007147/1.429, allocations: 159 kB / 1.291 GB, free: 145.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/1.429, allocations: 5.438 kB / 1.291 GB, free: 145.3 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008266/1.437, allocations: 4.46 MB / 1.295 GB, free: 143.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.548e-05/1.437, allocations: 32.66 kB / 1.295 GB, free: 143.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.428e-05/1.437, allocations: 49.62 kB / 1.296 GB, free: 143.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002794/1.44, allocations: 0.7771 MB / 1.296 GB, free: 143.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-05/1.44, allocations: 74.52 kB / 1.296 GB, free: 143.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005968/1.446, allocations: 0.5528 MB / 1.297 GB, free: 143.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005867/1.446, allocations: 158.3 kB / 1.297 GB, free: 143.3 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00625/1.453, allocations: 2.53 MB / 1.3 GB, free: 142.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002667/1.455, allocations: 0.5582 MB / 1.3 GB, free: 141.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008381/1.464, allocations: 3.922 MB / 1.304 GB, free: 140.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.687e-05/1.464, allocations: 26.44 kB / 1.304 GB, free: 140.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.727e-05/1.464, allocations: 0.6562 kB / 1.304 GB, free: 140.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004188/1.468, allocations: 3.004 MB / 1.307 GB, free: 138.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02003/1.488, allocations: 9.755 MB / 1.316 GB, free: 132.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.234e-05/1.488, allocations: 1.578 kB / 1.316 GB, free: 132.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002114/1.49, allocations: 0.5982 MB / 1.317 GB, free: 132.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.612e-05/1.49, allocations: 8 kB / 1.317 GB, free: 132.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001648/1.491, allocations: 75.95 kB / 1.317 GB, free: 132.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004106/1.491, allocations: 1.191 MB / 1.318 GB, free: 130.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/1.491, allocations: 0 / 1.318 GB, free: 130.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007364/1.498, allocations: 5.659 MB / 1.324 GB, free: 125.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003948/1.502, allocations: 1.317 MB / 1.325 GB, free: 123.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001517/1.504, allocations: 59.98 kB / 1.325 GB, free: 123.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004638/1.509, allocations: 393.1 kB / 1.325 GB, free: 123.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002881/1.509, allocations: 157.9 kB / 1.326 GB, free: 123.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003745/1.509, allocations: 147.9 kB / 1.326 GB, free: 123 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.008424/1.518, allocations: 4.351 MB / 1.33 GB, free: 118.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6.71e-07/1.518, allocations: 0 / 1.33 GB, free: 118.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.01329/1.531, allocations: 3.236 MB / 1.333 GB, free: 115.4 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001911/1.533, allocations: 496 kB / 1.334 GB, free: 115 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01042/1.543, allocations: 6.034 MB / 1.34 GB, free: 108.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-05/1.543, allocations: 4.562 kB / 1.34 GB, free: 108.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002515/1.546, allocations: 1.6 MB / 1.341 GB, free: 107.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02582/1.572, allocations: 3.954 MB / 1.345 GB, free: 103.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03067/1.602, allocations: 16.45 MB / 1.361 GB, free: 86.98 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006489/1.609, allocations: 4.556 MB / 1.365 GB, free: 82.39 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.01086/1.62, allocations: 2.862 MB / 1.368 GB, free: 79.53 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001872/1.622, allocations: 471.2 kB / 1.369 GB, free: 79.07 MB / 0.9981 GB Notification: Performance of SimCode: time 1.783e-06/1.622, allocations: 4 kB / 1.369 GB, free: 79.06 MB / 0.9981 GB Notification: Performance of Templates: time 0.2125/1.834, allocations: 128.3 MB / 1.494 GB, free: 76 kB / 1.045 GB make -j1 -f Buildings_11_Buildings.Fluid.FixedResistances.Examples.Pipe.makefile (rm -f Buildings_11_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; mkfifo Buildings_11_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe >> ../files/Buildings_11_Buildings.Fluid.FixedResistances.Examples.Pipe.sim & ./Buildings_11_Buildings.Fluid.FixedResistances.Examples.Pipe -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.FixedResistances.Examples.Pipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FixedResistances_Examples_Pipe.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.FixedResistances.Examples.Pipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches