Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.Tubular.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.SolarCollectors.Examples.Tubular") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.268/2.268, allocations: 393.5 MB / 408.4 MB, free: 10.98 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.001612/0.001612, allocations: 183.8 kB / 0.4902 GB, free: 2.258 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.578/1.578, allocations: 223.1 MB / 0.7992 GB, free: 14.73 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 96.19 kB / 0.9396 GB, free: 1.852 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004322/0.0004322, allocations: 10.97 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3753/0.3757, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.83/7.205, allocations: 2.2 GB / 3.429 GB, free: 249.4 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004166/7.206, allocations: 97.36 kB / 3.429 GB, free: 249.3 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.589/10.79, allocations: 0.9442 GB / 4.373 GB, free: 200.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.735e-06/10.8, allocations: 0 / 4.373 GB, free: 200.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0008946/10.8, allocations: 127.9 kB / 4.374 GB, free: 200.7 MB / 1.167 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.01876/10.81, allocations: 5.175 MB / 4.379 GB, free: 195.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.537e-05/10.81, allocations: 8.828 kB / 4.379 GB, free: 195.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009244/10.82, allocations: 1.289 MB / 4.38 GB, free: 194.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01661/10.84, allocations: 5.57 MB / 4.385 GB, free: 188.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003469/10.84, allocations: 287.5 kB / 4.386 GB, free: 188.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002083/10.84, allocations: 383.9 kB / 4.386 GB, free: 187.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0183/10.86, allocations: 5.425 MB / 4.391 GB, free: 182.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003106/10.86, allocations: 7.938 kB / 4.391 GB, free: 182.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002003/10.86, allocations: 164 kB / 4.391 GB, free: 182.1 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002057/10.86, allocations: 179.3 kB / 4.392 GB, free: 181.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01449/10.88, allocations: 5.286 MB / 4.397 GB, free: 176.6 MB / 1.167 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.04579/10.92, allocations: 19.76 MB / 4.416 GB, free: 156.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008386/10.93, allocations: 3.61 MB / 4.42 GB, free: 152.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002011/10.93, allocations: 1.864 MB / 4.421 GB, free: 150.4 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005287/10.94, allocations: 2.089 MB / 4.423 GB, free: 148.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=268): time 6.031e-06/10.94, allocations: 0 / 4.423 GB, free: 148.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=268): time 0.0149/10.96, allocations: 5.152 MB / 4.428 GB, free: 143 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.809e-05/10.96, allocations: 299.1 kB / 4.429 GB, free: 142.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00809/10.96, allocations: 3.543 MB / 4.432 GB, free: 139.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.001051/10.96, allocations: 81.7 kB / 4.432 GB, free: 139 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.00259/10.97, allocations: 1.984 MB / 4.434 GB, free: 137 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001638/10.97, allocations: 0.9126 MB / 4.435 GB, free: 136.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006207/10.97, allocations: 60 kB / 4.435 GB, free: 136 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.000291/10.97, allocations: 420 kB / 4.436 GB, free: 135.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004058/10.97, allocations: 1.571 MB / 4.437 GB, free: 134 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004614/10.98, allocations: 2.253 MB / 4.439 GB, free: 131.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004257/10.98, allocations: 1.909 MB / 4.441 GB, free: 129.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.902e-05/10.98, allocations: 4 kB / 4.441 GB, free: 129.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=373) (initialization): time 0.0108/10.99, allocations: 4.41 MB / 4.446 GB, free: 125.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001554/11, allocations: 7.45 MB / 4.453 GB, free: 117.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.434e-05/11, allocations: 20 kB / 4.453 GB, free: 117.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000697/11, allocations: 116.7 kB / 4.453 GB, free: 116.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004688/11, allocations: 0.819 MB / 4.454 GB, free: 116.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002225/11, allocations: 2.17 MB / 4.456 GB, free: 113.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006013/11.01, allocations: 0.5275 MB / 4.456 GB, free: 113.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009669/11.01, allocations: 147.9 kB / 4.456 GB, free: 113.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/11.01, allocations: 4 kB / 4.456 GB, free: 113.1 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01098/11.02, allocations: 4.065 MB / 4.46 GB, free: 109 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.108e-05/11.02, allocations: 16 kB / 4.46 GB, free: 109 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006201/11.02, allocations: 121.9 kB / 4.461 GB, free: 108.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004352/11.03, allocations: 0.8035 MB / 4.461 GB, free: 108.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001801/11.03, allocations: 1.594 MB / 4.463 GB, free: 106.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005557/11.03, allocations: 0.4889 MB / 4.463 GB, free: 105.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000858/11.03, allocations: 147.9 kB / 4.464 GB, free: 105.7 MB / 1.167 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 () * Number of clocked 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.004492/11.04, allocations: 1.531 MB / 4.465 GB, free: 104.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001899/11.04, allocations: 387.3 kB / 4.465 GB, free: 103.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01218/11.05, allocations: 4.421 MB / 4.47 GB, free: 99.29 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.149e-05/11.05, allocations: 31.95 kB / 4.47 GB, free: 99.26 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.121e-05/11.05, allocations: 4 kB / 4.47 GB, free: 99.26 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007711/11.06, allocations: 3.524 MB / 4.473 GB, free: 95.64 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02375/11.08, allocations: 9.107 MB / 4.482 GB, free: 86.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.698e-05/11.08, allocations: 4.094 kB / 4.482 GB, free: 86.39 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003994/11.09, allocations: 0.6514 MB / 4.483 GB, free: 85.74 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006157/11.09, allocations: 84.77 kB / 4.483 GB, free: 85.66 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007916/11.09, allocations: 99.88 kB / 4.483 GB, free: 85.56 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002141/11.09, allocations: 2.162 MB / 4.485 GB, free: 83.23 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/11.09, allocations: 8.094 kB / 4.485 GB, free: 83.22 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01459/11.11, allocations: 6.152 MB / 4.491 GB, free: 76.96 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003951/11.11, allocations: 1.085 MB / 4.492 GB, free: 75.85 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00165/11.11, allocations: 60.09 kB / 4.492 GB, free: 75.79 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004986/11.12, allocations: 347.3 kB / 4.492 GB, free: 75.45 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005853/11.12, allocations: 185.9 kB / 4.493 GB, free: 75.27 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006037/11.12, allocations: 135.8 kB / 4.493 GB, free: 75.14 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.005879/11.12, allocations: 2.798 MB / 4.496 GB, free: 72.36 MB / 1.167 GB Notification: Performance of sort global known variables: time 3e-07/11.12, allocations: 4 kB / 4.496 GB, free: 72.36 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.01231/11.14, allocations: 2.478 MB / 4.498 GB, free: 69.87 MB / 1.167 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) * Number of clocked states: 0 () * 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.004625/11.14, allocations: 1.678 MB / 4.5 GB, free: 68.39 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.01585/11.16, allocations: 6.162 MB / 4.506 GB, free: 62.17 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-05/11.16, allocations: 1.328 kB / 4.506 GB, free: 62.17 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.005217/11.16, allocations: 1.985 MB / 4.508 GB, free: 60.17 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01146/11.17, allocations: 2.029 MB / 4.51 GB, free: 58.18 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02458/11.2, allocations: 11.31 MB / 4.521 GB, free: 46.81 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00507/11.2, allocations: 3.152 MB / 4.524 GB, free: 43.62 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.01157/11.22, allocations: 2.082 MB / 4.526 GB, free: 41.54 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002331/11.22, allocations: 399.2 kB / 4.526 GB, free: 41.14 MB / 1.167 GB Notification: Performance of SimCode: time 1.243e-06/11.22, allocations: 0 / 4.526 GB, free: 41.14 MB / 1.167 GB Notification: Performance of Templates: time 0.8835/12.1, allocations: 91.69 MB / 4.616 GB, free: 252.3 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.Tubular.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.Tubular.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.Tubular -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.Tubular_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_Examples_Tubular.csv","../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.Tubular.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches