Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Concentrating.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.Concentrating,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.Concentrating") translateModel(Buildings.Fluid.SolarCollectors.Examples.Concentrating,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.Concentrating") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.718/2.718, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.001251/0.001251, allocations: 183.3 kB / 498.1 MB, free: 5.727 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.729/1.729, allocations: 223.2 MB / 0.7949 GB, free: 17.88 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.0009012/0.0009011, allocations: 102.8 kB / 0.9346 GB, free: 6.18 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003799/0.0003799, allocations: 10.22 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.354/0.3544, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.2/6.555, allocations: 2.199 GB / 3.422 GB, free: 284.8 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003652/6.555, allocations: 95.95 kB / 3.422 GB, free: 284.7 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.707/10.26, allocations: 0.9439 GB / 4.366 GB, free: 241.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 5.149e-06/10.26, allocations: 0 / 4.366 GB, free: 241.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.001149/10.26, allocations: 134.1 kB / 4.366 GB, free: 241.6 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: 982 * Number of variables: 982 Notification: Performance of Generate backend data structure: time 0.02283/10.29, allocations: 5.153 MB / 4.371 GB, free: 236.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.583e-05/10.29, allocations: 12.03 kB / 4.371 GB, free: 236.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0104/10.3, allocations: 1.184 MB / 4.373 GB, free: 235.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02242/10.32, allocations: 5.521 MB / 4.378 GB, free: 229.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006859/10.32, allocations: 283.5 kB / 4.378 GB, free: 229.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002998/10.32, allocations: 375.7 kB / 4.379 GB, free: 229.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0223/10.35, allocations: 5.39 MB / 4.384 GB, free: 223.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003635/10.35, allocations: 7.938 kB / 4.384 GB, free: 223.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002172/10.35, allocations: 163.7 kB / 4.384 GB, free: 223.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001998/10.35, allocations: 171.3 kB / 4.384 GB, free: 223.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01764/10.37, allocations: 5.216 MB / 4.389 GB, free: 218 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.05314/10.42, allocations: 19.64 MB / 4.408 GB, free: 197.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009296/10.43, allocations: 3.617 MB / 4.412 GB, free: 194.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00236/10.43, allocations: 1.864 MB / 4.414 GB, free: 192.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005984/10.44, allocations: 2.039 MB / 4.416 GB, free: 190 MB / 1.167 GB Notification: Performance of pre-optimization done (n=267): time 1.064e-05/10.44, allocations: 0 / 4.416 GB, free: 190 MB / 1.167 GB Notification: Performance of matching and sorting (n=267): time 0.01705/10.45, allocations: 5.05 MB / 4.421 GB, free: 184.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001398/10.45, allocations: 287.1 kB / 4.421 GB, free: 184.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01082/10.47, allocations: 3.534 MB / 4.424 GB, free: 181 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.001435/10.47, allocations: 81.7 kB / 4.424 GB, free: 180.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.003564/10.47, allocations: 1.976 MB / 4.426 GB, free: 178.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.002285/10.47, allocations: 0.9089 MB / 4.427 GB, free: 178 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009357/10.47, allocations: 56 kB / 4.427 GB, free: 177.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0005115/10.47, allocations: 423.9 kB / 4.428 GB, free: 177.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004629/10.48, allocations: 1.52 MB / 4.429 GB, free: 176 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005075/10.48, allocations: 2.213 MB / 4.431 GB, free: 173.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005071/10.49, allocations: 1.858 MB / 4.433 GB, free: 171.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.555e-05/10.49, allocations: 4 kB / 4.433 GB, free: 171.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=368) (initialization): time 0.01547/10.5, allocations: 4.316 MB / 4.437 GB, free: 167.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.002806/10.51, allocations: 7.447 MB / 4.445 GB, free: 159.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.15e-05/10.51, allocations: 20 kB / 4.445 GB, free: 159.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008278/10.51, allocations: 112.8 kB / 4.445 GB, free: 159.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005387/10.51, allocations: 0.7995 MB / 4.446 GB, free: 158.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002798/10.52, allocations: 2.174 MB / 4.448 GB, free: 155.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007294/10.52, allocations: 0.5158 MB / 4.448 GB, free: 155.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001618/10.53, allocations: 143.9 kB / 4.448 GB, free: 155.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 3.129e-05/10.53, allocations: 9.5 kB / 4.448 GB, free: 155.3 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0144/10.54, allocations: 3.964 MB / 4.452 GB, free: 151.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.28e-05/10.54, allocations: 20 kB / 4.452 GB, free: 151.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006462/10.54, allocations: 112.9 kB / 4.452 GB, free: 151.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004707/10.55, allocations: 0.7878 MB / 4.453 GB, free: 150.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002207/10.55, allocations: 1.597 MB / 4.455 GB, free: 148.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0071/10.56, allocations: 480.8 kB / 4.455 GB, free: 148.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001864/10.56, allocations: 143.9 kB / 4.455 GB, free: 148 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 (366): * Single equations (assignments): 364 * 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.008166/10.57, allocations: 1.527 MB / 4.457 GB, free: 146.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003343/10.57, allocations: 399.2 kB / 4.457 GB, free: 146.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01676/10.59, allocations: 4.338 MB / 4.461 GB, free: 141.7 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.86e-05/10.59, allocations: 32 kB / 4.461 GB, free: 141.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.923e-05/10.59, allocations: 0 / 4.461 GB, free: 141.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008924/10.59, allocations: 3.457 MB / 4.465 GB, free: 138.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02886/10.62, allocations: 9.027 MB / 4.474 GB, free: 128.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.012e-05/10.62, allocations: 0 / 4.474 GB, free: 128.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004028/10.63, allocations: 0.632 MB / 4.474 GB, free: 128.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005936/10.63, allocations: 92.72 kB / 4.474 GB, free: 128.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000749/10.63, allocations: 87.92 kB / 4.474 GB, free: 128.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002128/10.63, allocations: 2.165 MB / 4.477 GB, free: 125.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/10.63, allocations: 7.891 kB / 4.477 GB, free: 125.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01538/10.65, allocations: 6.035 MB / 4.482 GB, free: 119.6 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004636/10.65, allocations: 1.085 MB / 4.483 GB, free: 118.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0026/10.65, allocations: 63.86 kB / 4.484 GB, free: 118.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006761/10.66, allocations: 331.4 kB / 4.484 GB, free: 118.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007929/10.66, allocations: 185.9 kB / 4.484 GB, free: 118 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009592/10.66, allocations: 123.9 kB / 4.484 GB, free: 117.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.008345/10.67, allocations: 2.793 MB / 4.487 GB, free: 115.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 9.62e-07/10.67, allocations: 0 / 4.487 GB, free: 115.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.01547/10.69, allocations: 2.478 MB / 4.489 GB, free: 112.6 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 (287): * Single equations (assignments): 277 * 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.005877/10.69, allocations: 1.685 MB / 4.491 GB, free: 111.2 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.01649/10.71, allocations: 6.002 MB / 4.497 GB, free: 105.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.006e-05/10.71, allocations: 5.328 kB / 4.497 GB, free: 105.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.005342/10.71, allocations: 1.938 MB / 4.499 GB, free: 103.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01241/10.73, allocations: 2.041 MB / 4.501 GB, free: 101.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02738/10.75, allocations: 11.32 MB / 4.512 GB, free: 89.82 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005685/10.76, allocations: 3.148 MB / 4.515 GB, free: 86.64 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.01019/10.77, allocations: 2.042 MB / 4.517 GB, free: 84.59 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001596/10.77, allocations: 403.2 kB / 4.517 GB, free: 84.2 MB / 1.167 GB Notification: Performance of SimCode: time 2.475e-06/10.77, allocations: 0 / 4.517 GB, free: 84.2 MB / 1.167 GB Notification: Performance of Templates: time 1.002/11.77, allocations: 91.33 MB / 4.606 GB, free: 272.1 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Concentrating.makefile (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Concentrating.sim & ./Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Concentrating -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Concentrating_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_SolarCollectors_Examples_Concentrating.csv","../files/Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Concentrating.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches