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.099/2.099, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.001128/0.001128, allocations: 176.9 kB / 487.4 MB, free: 5.031 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.389/1.389, allocations: 221.5 MB / 0.7824 GB, free: 0.9844 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.0009283/0.000928, allocations: 106.8 kB / 0.9219 GB, free: 2.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.685e-05/1.686e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2378/0.2379, allocations: 142.4 MB / 1.206 GB, free: 43.95 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.805/5.043, allocations: 2.199 GB / 3.405 GB, free: 123.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001895/5.043, allocations: 96.5 kB / 3.405 GB, free: 123.7 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.837/7.881, allocations: 0.9362 GB / 4.341 GB, free: 78.14 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.213e-06/7.881, allocations: 0 / 4.341 GB, free: 78.14 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0005561/7.881, allocations: 127.9 kB / 4.341 GB, free: 78.01 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: 982 * Number of variables: 982 Notification: Performance of Generate backend data structure: time 0.009362/7.89, allocations: 4.313 MB / 4.345 GB, free: 73.63 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/7.891, allocations: 8.031 kB / 4.345 GB, free: 73.62 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006435/7.897, allocations: 1.18 MB / 4.346 GB, free: 72.44 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009893/7.907, allocations: 5.499 MB / 4.352 GB, free: 66.87 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001145/7.907, allocations: 120 kB / 4.352 GB, free: 66.75 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006633/7.908, allocations: 223.9 kB / 4.352 GB, free: 66.54 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005915/7.914, allocations: 4.353 MB / 4.356 GB, free: 62.18 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006131/7.92, allocations: 4.54 MB / 4.361 GB, free: 57.48 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-05/7.92, allocations: 11.92 kB / 4.361 GB, free: 57.47 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003699/7.92, allocations: 8 kB / 4.361 GB, free: 57.46 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001109/7.92, allocations: 171.3 kB / 4.361 GB, free: 57.29 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.02481/7.945, allocations: 18.91 MB / 4.379 GB, free: 37.75 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003478/7.949, allocations: 3.126 MB / 4.382 GB, free: 34.63 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001581/7.95, allocations: 1.599 MB / 4.384 GB, free: 33.02 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001517/7.952, allocations: 1.861 MB / 4.386 GB, free: 30.77 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002089/7.954, allocations: 1.769 MB / 4.388 GB, free: 28.95 MB / 1.151 GB Notification: Performance of pre-optimization done (n=267): time 4.839e-06/7.954, allocations: 4 kB / 4.388 GB, free: 28.95 MB / 1.151 GB Notification: Performance of matching and sorting (n=267): time 0.05573/8.01, allocations: 7.4 MB / 4.395 GB, free: 21.49 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.715e-05/8.01, allocations: 291.1 kB / 4.395 GB, free: 21.14 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003707/8.013, allocations: 2.993 MB / 4.398 GB, free: 18.15 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0003379/8.014, allocations: 29.7 kB / 4.398 GB, free: 18.11 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001369/8.015, allocations: 1.962 MB / 4.4 GB, free: 16.13 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006656/8.016, allocations: 0.8776 MB / 4.401 GB, free: 15.24 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001634/8.016, allocations: 0 / 4.401 GB, free: 15.24 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001202/8.016, allocations: 423.9 kB / 4.401 GB, free: 14.82 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001512/8.018, allocations: 1.275 MB / 4.402 GB, free: 13.54 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001734/8.019, allocations: 1.941 MB / 4.404 GB, free: 11.32 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05221/8.072, allocations: 6.047 MB / 4.41 GB, free: 5.254 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.666e-05/8.072, allocations: 4 kB / 4.41 GB, free: 5.25 MB / 1.151 GB Notification: Performance of matching and sorting (n=368) (initialization): time 0.6622/8.734, allocations: 8.067 MB / 4.418 GB, free: 226.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.001181/8.735, allocations: 7.31 MB / 4.425 GB, free: 218.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.182e-05/8.735, allocations: 17.81 kB / 4.425 GB, free: 218.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006305/8.736, allocations: 110.5 kB / 4.425 GB, free: 218.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004065/8.74, allocations: 0.7994 MB / 4.426 GB, free: 218.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00183/8.742, allocations: 2.103 MB / 4.428 GB, free: 216.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004435/8.746, allocations: 426.6 kB / 4.429 GB, free: 216.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004501/8.747, allocations: 143.1 kB / 4.429 GB, free: 216.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.928e-06/8.747, allocations: 2.625 kB / 4.429 GB, free: 216.9 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05942/8.806, allocations: 7.703 MB / 4.436 GB, free: 216.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.495e-05/8.806, allocations: 14.84 kB / 4.436 GB, free: 216.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006821/8.807, allocations: 113.3 kB / 4.436 GB, free: 216.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003745/8.811, allocations: 0.791 MB / 4.437 GB, free: 216.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001449/8.812, allocations: 1.51 MB / 4.439 GB, free: 215.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004736/8.817, allocations: 389.8 kB / 4.439 GB, free: 215.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004811/8.817, allocations: 146 kB / 4.439 GB, free: 215.6 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 (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.0008424/8.818, allocations: 174.1 kB / 4.439 GB, free: 215.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008965/8.819, allocations: 362.7 kB / 4.44 GB, free: 215.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0573/8.876, allocations: 8.148 MB / 4.448 GB, free: 215.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-05/8.876, allocations: 32.09 kB / 4.448 GB, free: 215.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/8.876, allocations: 0 / 4.448 GB, free: 215.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05571/8.932, allocations: 7.334 MB / 4.455 GB, free: 214.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06822/9, allocations: 12.38 MB / 4.467 GB, free: 214.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.424e-05/9, allocations: 2.344 kB / 4.467 GB, free: 214.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003297/9.004, allocations: 0.6274 MB / 4.468 GB, free: 214.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004864/9.004, allocations: 90.14 kB / 4.468 GB, free: 214.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000244/9.005, allocations: 59.58 kB / 4.468 GB, free: 214.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001581/9.006, allocations: 2.09 MB / 4.47 GB, free: 212.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/9.006, allocations: 1.031 kB / 4.47 GB, free: 212.4 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05819/9.064, allocations: 9.644 MB / 4.479 GB, free: 211.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002635/9.067, allocations: 1.053 MB / 4.48 GB, free: 211.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008619/9.068, allocations: 13.02 kB / 4.48 GB, free: 211.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003677/9.072, allocations: 283.1 kB / 4.48 GB, free: 211.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003754/9.072, allocations: 179.1 kB / 4.481 GB, free: 211.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003069/9.072, allocations: 127.9 kB / 4.481 GB, free: 211.5 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.003469/9.076, allocations: 2.309 MB / 4.483 GB, free: 211.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.71e-07/9.076, allocations: 0 / 4.483 GB, free: 211.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.008074/9.084, allocations: 2.364 MB / 4.485 GB, free: 211.1 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 (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.002881/9.087, allocations: 1.676 MB / 4.487 GB, free: 210.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.007705/9.095, allocations: 5.291 MB / 4.492 GB, free: 210.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 9.969e-06/9.095, allocations: 7.922 kB / 4.492 GB, free: 210.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.002315/9.097, allocations: 1.676 MB / 4.494 GB, free: 210.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008891/9.106, allocations: 1.755 MB / 4.496 GB, free: 210.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01222/9.118, allocations: 7.76 MB / 4.503 GB, free: 208.7 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002016/9.12, allocations: 3.149 MB / 4.506 GB, free: 207.9 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.00851/9.129, allocations: 2.82 MB / 4.509 GB, free: 207.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008926/9.129, allocations: 308.2 kB / 4.509 GB, free: 207.6 MB / 1.151 GB Notification: Performance of SimCode: time 8.81e-07/9.13, allocations: 0 / 4.509 GB, free: 207.6 MB / 1.151 GB Notification: Performance of Templates: time 0.1016/9.231, allocations: 79.81 MB / 4.587 GB, free: 202.4 MB / 1.151 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