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.374/2.374, allocations: 390.5 MB / 398 MB, free: 10.91 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.001181/0.001181, allocations: 172.4 kB / 491.2 MB, free: 1.594 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.646/1.646, allocations: 221.5 MB / 0.7868 GB, free: 13.34 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.001326/0.001326, allocations: 103.9 kB / 0.9269 GB, free: 13.82 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.824e-05/1.827e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.336/0.336, allocations: 143 MB / 1.212 GB, free: 39.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.711/7.047, allocations: 2.199 GB / 3.412 GB, free: 100.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003052/7.047, allocations: 87.95 kB / 3.412 GB, free: 100.1 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.693/10.74, allocations: 0.9366 GB / 4.348 GB, free: 48.24 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.024e-06/10.74, allocations: 0 / 4.348 GB, free: 48.24 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0009384/10.74, allocations: 131.9 kB / 4.348 GB, free: 48.11 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.01601/10.76, allocations: 4.325 MB / 4.353 GB, free: 43.72 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.319e-05/10.76, allocations: 8.031 kB / 4.353 GB, free: 43.71 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008997/10.77, allocations: 1.289 MB / 4.354 GB, free: 42.41 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01561/10.78, allocations: 5.543 MB / 4.359 GB, free: 36.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003922/10.78, allocations: 120 kB / 4.359 GB, free: 36.69 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002371/10.78, allocations: 231.9 kB / 4.36 GB, free: 36.46 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01076/10.8, allocations: 4.395 MB / 4.364 GB, free: 32.06 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01448/10.81, allocations: 4.556 MB / 4.368 GB, free: 27.34 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002595/10.81, allocations: 7.938 kB / 4.368 GB, free: 27.34 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001498/10.81, allocations: 8 kB / 4.368 GB, free: 27.33 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001779/10.81, allocations: 179.3 kB / 4.368 GB, free: 27.15 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.03209/10.84, allocations: 19 MB / 4.387 GB, free: 7.523 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003711/10.85, allocations: 3.126 MB / 4.39 GB, free: 4.402 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001741/10.85, allocations: 1.611 MB / 4.392 GB, free: 2.777 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001651/10.85, allocations: 1.864 MB / 4.393 GB, free: 0.5234 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.83/11.68, allocations: 1.778 MB / 4.395 GB, free: 224.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=268): time 8.156e-06/11.68, allocations: 0 / 4.395 GB, free: 224.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=268): time 0.06449/11.75, allocations: 7.435 MB / 4.402 GB, free: 224.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001266/11.75, allocations: 287.5 kB / 4.403 GB, free: 224.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006659/11.75, allocations: 3 MB / 4.406 GB, free: 223.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.001023/11.75, allocations: 33.58 kB / 4.406 GB, free: 223.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.002517/11.76, allocations: 1.984 MB / 4.408 GB, free: 223.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.002198/11.76, allocations: 0.8785 MB / 4.409 GB, free: 222.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002341/11.76, allocations: 0 / 4.409 GB, free: 222.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0002733/11.76, allocations: 423.9 kB / 4.409 GB, free: 222.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002392/11.76, allocations: 1.296 MB / 4.41 GB, free: 222.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003032/11.76, allocations: 1.961 MB / 4.412 GB, free: 221.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1587/11.92, allocations: 13.26 MB / 4.425 GB, free: 221.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.356e-05/11.92, allocations: 4.875 kB / 4.425 GB, free: 221.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=373) (initialization): time 0.1538/12.08, allocations: 15.31 MB / 4.44 GB, free: 221.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.001566/12.08, allocations: 7.303 MB / 4.447 GB, free: 213.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-05/12.08, allocations: 20.94 kB / 4.447 GB, free: 213.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000646/12.08, allocations: 118.9 kB / 4.447 GB, free: 213.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004186/12.08, allocations: 0.8203 MB / 4.448 GB, free: 213.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001949/12.09, allocations: 2.1 MB / 4.45 GB, free: 211.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005545/12.09, allocations: 442.1 kB / 4.451 GB, free: 211.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006655/12.09, allocations: 145.6 kB / 4.451 GB, free: 211.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/12.09, allocations: 5.656 kB / 4.451 GB, free: 211.8 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1491/12.24, allocations: 14.93 MB / 4.465 GB, free: 210.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.381e-05/12.24, allocations: 17.5 kB / 4.465 GB, free: 210.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005/12.24, allocations: 113.9 kB / 4.465 GB, free: 210.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003593/12.24, allocations: 0.8051 MB / 4.466 GB, free: 210.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001457/12.25, allocations: 1.515 MB / 4.468 GB, free: 209.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004607/12.25, allocations: 397.7 kB / 4.468 GB, free: 209.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004451/12.25, allocations: 147.5 kB / 4.468 GB, free: 209.5 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.0009239/12.25, allocations: 179.7 kB / 4.468 GB, free: 209.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001113/12.25, allocations: 360.8 kB / 4.469 GB, free: 209.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05852/12.31, allocations: 8.172 MB / 4.477 GB, free: 208.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-05/12.31, allocations: 29.88 kB / 4.477 GB, free: 208.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/12.31, allocations: 0 / 4.477 GB, free: 208.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05564/12.37, allocations: 7.36 MB / 4.484 GB, free: 208 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06556/12.43, allocations: 12.42 MB / 4.496 GB, free: 207.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.178e-05/12.43, allocations: 0 / 4.496 GB, free: 207.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003137/12.44, allocations: 0.6481 MB / 4.497 GB, free: 207.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004636/12.44, allocations: 92.86 kB / 4.497 GB, free: 207.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002044/12.44, allocations: 58.67 kB / 4.497 GB, free: 207.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00156/12.44, allocations: 2.094 MB / 4.499 GB, free: 205.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/12.44, allocations: 0.75 kB / 4.499 GB, free: 205.4 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05932/12.5, allocations: 9.697 MB / 4.508 GB, free: 204.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003049/12.5, allocations: 1.059 MB / 4.509 GB, free: 204.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005781/12.5, allocations: 15.45 kB / 4.509 GB, free: 204.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003177/12.51, allocations: 293.5 kB / 4.51 GB, free: 204.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002897/12.51, allocations: 173 kB / 4.51 GB, free: 204.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002605/12.51, allocations: 135.2 kB / 4.51 GB, free: 204.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.003354/12.51, allocations: 2.313 MB / 4.512 GB, free: 204 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.91e-07/12.51, allocations: 0 / 4.512 GB, free: 204 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.007426/12.52, allocations: 2.367 MB / 4.514 GB, free: 203.8 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.003275/12.52, allocations: 1.671 MB / 4.516 GB, free: 203.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.008984/12.53, allocations: 5.375 MB / 4.521 GB, free: 203.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.148e-05/12.53, allocations: 6.703 kB / 4.521 GB, free: 203.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.002212/12.53, allocations: 1.699 MB / 4.523 GB, free: 203.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008516/12.54, allocations: 1.756 MB / 4.525 GB, free: 203 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0137/12.55, allocations: 7.726 MB / 4.532 GB, free: 201.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002839/12.56, allocations: 3.154 MB / 4.535 GB, free: 200.3 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.01014/12.57, allocations: 2.8 MB / 4.538 GB, free: 200 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001113/12.57, allocations: 322.9 kB / 4.538 GB, free: 200 MB / 1.151 GB Notification: Performance of SimCode: time 1.633e-06/12.57, allocations: 0 / 4.538 GB, free: 200 MB / 1.151 GB Notification: Performance of Templates: time 0.1259/12.69, allocations: 80.2 MB / 4.617 GB, free: 180.2 MB / 1.151 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