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.185/2.185, allocations: 390.3 MB / 402.8 MB, free: 6.711 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.001027/0.001027, allocations: 176.9 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.532/1.532, allocations: 221.3 MB / 0.7915 GB, free: 5.438 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.0009323/0.0009316, allocations: 99.95 kB / 0.9318 GB, free: 5.75 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.704e-05/2.715e-05, allocations: 0 / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.3278, allocations: 143 MB / 1.219 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.249/6.576, allocations: 2.2 GB / 3.419 GB, free: 86.39 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005017/6.577, allocations: 91.95 kB / 3.419 GB, free: 86.3 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 4.049/10.63, allocations: 0.9417 GB / 4.36 GB, free: 58.26 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.216e-06/10.63, allocations: 4 kB / 4.36 GB, free: 58.25 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.001143/10.63, allocations: 139.8 kB / 4.361 GB, free: 58.12 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.01856/10.65, allocations: 4.326 MB / 4.365 GB, free: 53.73 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.546e-05/10.65, allocations: 12.02 kB / 4.365 GB, free: 53.71 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009996/10.66, allocations: 1.285 MB / 4.366 GB, free: 52.42 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01942/10.68, allocations: 5.543 MB / 4.371 GB, free: 46.81 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005965/10.68, allocations: 287.5 kB / 4.372 GB, free: 46.53 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003033/10.68, allocations: 383.8 kB / 4.372 GB, free: 46.16 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01984/10.7, allocations: 5.09 MB / 4.377 GB, free: 40.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002983/10.7, allocations: 11.94 kB / 4.377 GB, free: 40.89 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00205/10.7, allocations: 160 kB / 4.377 GB, free: 40.73 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002118/10.7, allocations: 175.3 kB / 4.377 GB, free: 40.56 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0124/10.71, allocations: 4.682 MB / 4.382 GB, free: 35.88 MB / 1.167 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.04577/10.76, allocations: 19.74 MB / 4.401 GB, free: 15.48 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006794/10.77, allocations: 3.261 MB / 4.404 GB, free: 12.23 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003209/10.77, allocations: 1.693 MB / 4.406 GB, free: 10.53 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002316/10.77, allocations: 1.861 MB / 4.408 GB, free: 8.281 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004302/10.78, allocations: 1.875 MB / 4.41 GB, free: 6.355 MB / 1.167 GB Notification: Performance of pre-optimization done (n=268): time 1.117e-05/10.78, allocations: 0 / 4.41 GB, free: 6.355 MB / 1.167 GB Notification: Performance of matching and sorting (n=268): time 0.008873/10.79, allocations: 3.175 MB / 4.413 GB, free: 3.125 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001416/10.79, allocations: 291.1 kB / 4.413 GB, free: 2.777 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.013/11.8, allocations: 3.496 MB / 4.417 GB, free: 231.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.001809/11.8, allocations: 79.89 kB / 4.417 GB, free: 231.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.005516/11.81, allocations: 1.985 MB / 4.419 GB, free: 231.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.003262/11.81, allocations: 0.9086 MB / 4.419 GB, free: 230.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004254/11.81, allocations: 59.28 kB / 4.419 GB, free: 230.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0005734/11.81, allocations: 428.8 kB / 4.42 GB, free: 230.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004559/11.82, allocations: 1.348 MB / 4.421 GB, free: 230.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004962/11.82, allocations: 2.039 MB / 4.423 GB, free: 229.6 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004819/11.83, allocations: 1.7 MB / 4.425 GB, free: 229.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.332e-05/11.83, allocations: 5.625 kB / 4.425 GB, free: 229.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=373) (initialization): time 0.01196/11.84, allocations: 3.979 MB / 4.429 GB, free: 229.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.002144/11.84, allocations: 7.452 MB / 4.436 GB, free: 221.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.828e-05/11.84, allocations: 21.03 kB / 4.436 GB, free: 221.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000787/11.84, allocations: 116 kB / 4.436 GB, free: 221.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0056/11.85, allocations: 0.8217 MB / 4.437 GB, free: 221.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002547/11.85, allocations: 2.156 MB / 4.439 GB, free: 219.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006852/11.86, allocations: 0.5236 MB / 4.44 GB, free: 219.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001073/11.86, allocations: 148 kB / 4.44 GB, free: 219.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/11.86, allocations: 7.828 kB / 4.44 GB, free: 219.5 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008547/11.87, allocations: 3.629 MB / 4.443 GB, free: 219.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.342e-05/11.87, allocations: 17.06 kB / 4.443 GB, free: 219.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006265/11.87, allocations: 118.8 kB / 4.443 GB, free: 219.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004443/11.87, allocations: 0.8068 MB / 4.444 GB, free: 219.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002081/11.87, allocations: 1.565 MB / 4.446 GB, free: 218.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006233/11.88, allocations: 0.4929 MB / 4.446 GB, free: 218 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008823/11.88, allocations: 147.4 kB / 4.446 GB, free: 218 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 () * 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.001325/11.88, allocations: 294.2 kB / 4.447 GB, free: 217.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001854/11.88, allocations: 388.2 kB / 4.447 GB, free: 217.7 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01074/11.89, allocations: 3.995 MB / 4.451 GB, free: 217.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.655e-05/11.89, allocations: 28.58 kB / 4.451 GB, free: 217.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/11.89, allocations: 2.812 kB / 4.451 GB, free: 217.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006639/11.9, allocations: 3.106 MB / 4.454 GB, free: 217.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0256/11.93, allocations: 8.675 MB / 4.462 GB, free: 216.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.407e-05/11.93, allocations: 1.5 kB / 4.462 GB, free: 216.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003871/11.93, allocations: 0.6483 MB / 4.463 GB, free: 216.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005906/11.93, allocations: 89.78 kB / 4.463 GB, free: 216.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003758/11.93, allocations: 88.73 kB / 4.463 GB, free: 216.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002068/11.93, allocations: 2.161 MB / 4.465 GB, free: 214.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/11.93, allocations: 1.469 kB / 4.465 GB, free: 214.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01306/11.95, allocations: 5.518 MB / 4.471 GB, free: 214 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004734/11.95, allocations: 1.097 MB / 4.472 GB, free: 213.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001912/11.95, allocations: 58.83 kB / 4.472 GB, free: 213.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005559/11.96, allocations: 343.8 kB / 4.472 GB, free: 213.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005885/11.96, allocations: 175.6 kB / 4.472 GB, free: 213.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000517/11.96, allocations: 134 kB / 4.472 GB, free: 213.7 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.007416/11.97, allocations: 2.763 MB / 4.475 GB, free: 213.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 9.11e-07/11.97, allocations: 1.531 kB / 4.475 GB, free: 213.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.01569/11.98, allocations: 2.476 MB / 4.478 GB, free: 213.4 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) * 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.004957/11.99, allocations: 1.65 MB / 4.479 GB, free: 213.2 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.01271/12, allocations: 5.645 MB / 4.485 GB, free: 212.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.535e-05/12, allocations: 5.016 kB / 4.485 GB, free: 212.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.003316/12, allocations: 1.765 MB / 4.486 GB, free: 212.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01254/12.02, allocations: 2.043 MB / 4.488 GB, free: 212.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01987/12.04, allocations: 7.936 MB / 4.496 GB, free: 211.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002873/12.04, allocations: 3.161 MB / 4.499 GB, free: 210.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.01168/12.05, allocations: 3.043 MB / 4.502 GB, free: 210.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001544/12.05, allocations: 331.9 kB / 4.503 GB, free: 210.4 MB / 1.167 GB Notification: Performance of SimCode: time 1.543e-06/12.05, allocations: 0 / 4.503 GB, free: 210.4 MB / 1.167 GB Notification: Performance of Templates: time 0.1658/12.22, allocations: 99.87 MB / 4.6 GB, free: 205.4 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