Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Tubular.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Examples.Tubular,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solCol.vol.3..T|solCol.vol.6..T|solCol.vol.9..T|solCol.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Tubular") translateModel(Buildings.Fluid.SolarCollectors.Examples.Tubular,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solCol.vol.3..T|solCol.vol.6..T|solCol.vol.9..T|solCol.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Tubular") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.116/2.116, allocations: 387.4 MB / 394.9 MB, free: 13.3 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 180.6 kB / 487.4 MB, free: 5.039 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 221.5 MB / 0.7824 GB, free: 0.9609 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008858/0.0008857, allocations: 99.89 kB / 0.9219 GB, free: 2.191 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.694e-05/1.697e-05, allocations: 5.438 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2236/0.2236, allocations: 142.4 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.518/4.741, allocations: 2.199 GB / 3.405 GB, free: 98.66 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002262/4.741, allocations: 89.77 kB / 3.405 GB, free: 98.62 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.904/7.646, allocations: 0.9365 GB / 4.342 GB, free: 57.91 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.903e-06/7.646, allocations: 0 / 4.342 GB, free: 57.91 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0005446/7.647, allocations: 127.9 kB / 4.342 GB, free: 57.79 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 984 * Number of variables: 984 Notification: Performance of Generate backend data structure: time 0.01064/7.657, allocations: 4.325 MB / 4.346 GB, free: 53.39 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/7.657, allocations: 8.031 kB / 4.346 GB, free: 53.39 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007781/7.665, allocations: 1.285 MB / 4.347 GB, free: 52.09 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0122/7.677, allocations: 5.547 MB / 4.353 GB, free: 46.48 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001938/7.678, allocations: 123.9 kB / 4.353 GB, free: 46.36 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001148/7.679, allocations: 227.9 kB / 4.353 GB, free: 46.14 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007329/7.686, allocations: 4.395 MB / 4.357 GB, free: 41.74 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006448/7.692, allocations: 4.556 MB / 4.362 GB, free: 37.02 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.912e-05/7.693, allocations: 7.938 kB / 4.362 GB, free: 37.02 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003947/7.693, allocations: 8 kB / 4.362 GB, free: 37.01 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001172/7.693, allocations: 183.3 kB / 4.362 GB, free: 36.83 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.02526/7.718, allocations: 19 MB / 4.38 GB, free: 17.2 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003638/7.722, allocations: 3.118 MB / 4.384 GB, free: 14.08 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001672/7.724, allocations: 1.611 MB / 4.385 GB, free: 12.46 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001554/7.725, allocations: 1.864 MB / 4.387 GB, free: 10.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002192/7.728, allocations: 1.789 MB / 4.389 GB, free: 8.367 MB / 1.151 GB Notification: Performance of pre-optimization done (n=268): time 4.078e-06/7.728, allocations: 0 / 4.389 GB, free: 8.367 MB / 1.151 GB Notification: Performance of matching and sorting (n=268): time 0.05583/7.783, allocations: 7.435 MB / 4.396 GB, free: 0.8711 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.639e-05/7.783, allocations: 291.1 kB / 4.396 GB, free: 0.5234 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.7815/8.565, allocations: 2.995 MB / 4.399 GB, free: 228.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.001099/8.566, allocations: 29.27 kB / 4.399 GB, free: 228.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.002505/8.569, allocations: 1.987 MB / 4.401 GB, free: 227.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.001575/8.57, allocations: 0.8751 MB / 4.402 GB, free: 227.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001799/8.57, allocations: 0 / 4.402 GB, free: 227.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0002036/8.571, allocations: 423.8 kB / 4.402 GB, free: 227.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0023/8.573, allocations: 1.294 MB / 4.404 GB, free: 227.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002802/8.576, allocations: 1.973 MB / 4.406 GB, free: 226.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1633/8.739, allocations: 13.25 MB / 4.418 GB, free: 226.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.912e-05/8.739, allocations: 7 kB / 4.418 GB, free: 226.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=373) (initialization): time 0.1487/8.888, allocations: 15.3 MB / 4.433 GB, free: 226 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.00146/8.889, allocations: 7.313 MB / 4.441 GB, free: 218.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.803e-05/8.889, allocations: 17.34 kB / 4.441 GB, free: 218.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006428/8.89, allocations: 114.2 kB / 4.441 GB, free: 218.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004393/8.894, allocations: 0.8184 MB / 4.442 GB, free: 218.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002006/8.897, allocations: 2.096 MB / 4.444 GB, free: 216.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005571/8.902, allocations: 442 kB / 4.444 GB, free: 216.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008735/8.903, allocations: 146.5 kB / 4.444 GB, free: 216.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/8.903, allocations: 3.562 kB / 4.444 GB, free: 216.4 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1479/9.051, allocations: 14.94 MB / 4.459 GB, free: 215.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.418e-05/9.051, allocations: 15.44 kB / 4.459 GB, free: 215.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005031/9.052, allocations: 119.2 kB / 4.459 GB, free: 215.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003469/9.055, allocations: 0.805 MB / 4.46 GB, free: 215.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001602/9.057, allocations: 1.503 MB / 4.461 GB, free: 214.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005053/9.062, allocations: 406.8 kB / 4.461 GB, free: 214.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003535/9.062, allocations: 150.7 kB / 4.462 GB, free: 214.3 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (371): * Single equations (assignments): 369 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.00102/9.063, allocations: 179.8 kB / 4.462 GB, free: 214.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001084/9.064, allocations: 365.2 kB / 4.462 GB, free: 214 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05628/9.12, allocations: 8.166 MB / 4.47 GB, free: 213.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.649e-05/9.121, allocations: 27.19 kB / 4.47 GB, free: 213.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/9.121, allocations: 0 / 4.47 GB, free: 213.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05534/9.176, allocations: 7.366 MB / 4.477 GB, free: 212.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06416/9.24, allocations: 12.42 MB / 4.489 GB, free: 212 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.058e-05/9.24, allocations: 0 / 4.489 GB, free: 212 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003112/9.243, allocations: 0.6482 MB / 4.49 GB, free: 212 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004758/9.244, allocations: 91.52 kB / 4.49 GB, free: 212 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002136/9.244, allocations: 57.08 kB / 4.49 GB, free: 212 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001564/9.246, allocations: 2.093 MB / 4.492 GB, free: 210.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/9.246, allocations: 3.953 kB / 4.492 GB, free: 210.1 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0584/9.304, allocations: 9.691 MB / 4.502 GB, free: 209.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002964/9.307, allocations: 1.059 MB / 4.503 GB, free: 209 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007325/9.308, allocations: 15.17 kB / 4.503 GB, free: 209 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003259/9.311, allocations: 294 kB / 4.503 GB, free: 208.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003257/9.311, allocations: 181.3 kB / 4.503 GB, free: 208.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002651/9.312, allocations: 133.4 kB / 4.503 GB, free: 208.9 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.003312/9.315, allocations: 2.316 MB / 4.506 GB, free: 208.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.51e-07/9.315, allocations: 0 / 4.506 GB, free: 208.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.007261/9.322, allocations: 2.365 MB / 4.508 GB, free: 208.6 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 11 (solCol.vol[1].dynBal.U,solCol.vol[2].dynBal.U,solCol.vol[3].dynBal.U,solCol.vol[4].dynBal.U,solCol.vol[5].dynBal.U,solCol.vol[6].dynBal.U,solCol.vol[7].dynBal.U,solCol.vol[8].dynBal.U,solCol.vol[9].dynBal.U,TOut.T,TIn.T) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (288): * Single equations (assignments): 278 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003195/9.325, allocations: 1.677 MB / 4.51 GB, free: 208.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.008657/9.334, allocations: 5.38 MB / 4.515 GB, free: 208 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-05/9.334, allocations: 4.891 kB / 4.515 GB, free: 208 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.002574/9.337, allocations: 1.692 MB / 4.516 GB, free: 207.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009774/9.347, allocations: 1.751 MB / 4.518 GB, free: 207.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01845/9.365, allocations: 7.723 MB / 4.526 GB, free: 205.9 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002819/9.368, allocations: 3.155 MB / 4.529 GB, free: 205.1 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.01044/9.378, allocations: 2.824 MB / 4.532 GB, free: 204.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001223/9.38, allocations: 318.2 kB / 4.532 GB, free: 204.8 MB / 1.151 GB Notification: Performance of SimCode: time 1.653e-06/9.38, allocations: 3.844 kB / 4.532 GB, free: 204.8 MB / 1.151 GB Notification: Performance of Templates: time 0.1327/9.512, allocations: 80.11 MB / 4.61 GB, free: 190.3 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Tubular.makefile (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Tubular.sim & ./Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Tubular -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Tubular_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_SolarCollectors_Examples_Tubular.csv","../files/Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Tubular.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches