Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.Concentrating.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.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_latest_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_latest_Buildings.Fluid.SolarCollectors.Examples.Concentrating") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.328/2.328, allocations: 393.5 MB / 408.4 MB, free: 11.05 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.001348/0.001347, allocations: 183.5 kB / 0.4902 GB, free: 2.246 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.616/1.616, allocations: 223.1 MB / 0.7992 GB, free: 14.63 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.000894/0.000894, allocations: 107.1 kB / 0.9396 GB, free: 1.844 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004184/0.0004184, allocations: 11.53 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.326/0.3264, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.208/6.535, allocations: 2.2 GB / 3.429 GB, free: 189.4 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003095/6.535, allocations: 92.72 kB / 3.429 GB, free: 189.4 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 4.233/10.77, allocations: 0.9439 GB / 4.373 GB, free: 158.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.367e-06/10.77, allocations: 0 / 4.373 GB, free: 158.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.001102/10.77, allocations: 131.8 kB / 4.373 GB, free: 158.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: 982 * Number of variables: 982 Notification: Performance of Generate backend data structure: time 0.02199/10.79, allocations: 5.16 MB / 4.378 GB, free: 153.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.383e-05/10.79, allocations: 8.828 kB / 4.378 GB, free: 153.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008882/10.8, allocations: 1.184 MB / 4.379 GB, free: 152.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01748/10.82, allocations: 5.519 MB / 4.384 GB, free: 146.7 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003878/10.82, allocations: 291.4 kB / 4.385 GB, free: 146.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002149/10.82, allocations: 375.9 kB / 4.385 GB, free: 146.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01821/10.84, allocations: 5.374 MB / 4.39 GB, free: 140.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002768/10.84, allocations: 11.84 kB / 4.39 GB, free: 140.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001863/10.84, allocations: 160 kB / 4.391 GB, free: 140.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002162/10.84, allocations: 183.2 kB / 4.391 GB, free: 140.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01712/10.86, allocations: 5.212 MB / 4.396 GB, free: 134.9 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.05518/10.91, allocations: 19.66 MB / 4.415 GB, free: 114.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008263/10.92, allocations: 3.603 MB / 4.419 GB, free: 111 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0021/10.92, allocations: 1.876 MB / 4.42 GB, free: 108.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005612/10.93, allocations: 2.042 MB / 4.422 GB, free: 106.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=267): time 7.033e-06/10.93, allocations: 0 / 4.422 GB, free: 106.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=267): time 0.01364/10.94, allocations: 5.043 MB / 4.427 GB, free: 101.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001347/10.94, allocations: 291.1 kB / 4.428 GB, free: 101.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007081/10.95, allocations: 3.527 MB / 4.431 GB, free: 97.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.001146/10.95, allocations: 77.7 kB / 4.431 GB, free: 97.62 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001991/10.95, allocations: 1.992 MB / 4.433 GB, free: 95.61 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001706/10.96, allocations: 0.9049 MB / 4.434 GB, free: 94.69 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002047/10.96, allocations: 56 kB / 4.434 GB, free: 94.64 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0002058/10.96, allocations: 423.9 kB / 4.434 GB, free: 94.21 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003238/10.96, allocations: 1.52 MB / 4.436 GB, free: 92.69 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003664/10.96, allocations: 2.209 MB / 4.438 GB, free: 90.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003619/10.97, allocations: 1.865 MB / 4.44 GB, free: 88.32 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.571e-05/10.97, allocations: 7.953 kB / 4.44 GB, free: 88.31 MB / 1.167 GB Notification: Performance of matching and sorting (n=368) (initialization): time 0.01029/10.98, allocations: 4.308 MB / 4.444 GB, free: 83.95 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001946/10.98, allocations: 7.443 MB / 4.451 GB, free: 75.91 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-05/10.98, allocations: 20 kB / 4.451 GB, free: 75.89 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007035/10.98, allocations: 108.8 kB / 4.451 GB, free: 75.78 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004735/10.98, allocations: 0.7956 MB / 4.452 GB, free: 74.98 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002369/10.99, allocations: 2.176 MB / 4.454 GB, free: 72.64 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006575/10.99, allocations: 0.5119 MB / 4.455 GB, free: 72.13 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00122/10.99, allocations: 143.9 kB / 4.455 GB, free: 71.99 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/10.99, allocations: 8.938 kB / 4.455 GB, free: 71.98 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01258/11.01, allocations: 3.967 MB / 4.459 GB, free: 67.97 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-05/11.01, allocations: 24.22 kB / 4.459 GB, free: 67.95 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006541/11.01, allocations: 109.2 kB / 4.459 GB, free: 67.84 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00462/11.01, allocations: 0.7918 MB / 4.46 GB, free: 67.05 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002068/11.01, allocations: 1.594 MB / 4.461 GB, free: 65.31 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00788/11.02, allocations: 484.6 kB / 4.462 GB, free: 64.84 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001597/11.02, allocations: 155.9 kB / 4.462 GB, free: 64.68 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.0071/11.03, allocations: 1.515 MB / 4.463 GB, free: 63.16 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003135/11.03, allocations: 391.3 kB / 4.464 GB, free: 62.77 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01492/11.05, allocations: 4.343 MB / 4.468 GB, free: 58.37 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.312e-05/11.05, allocations: 32 kB / 4.468 GB, free: 58.34 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/11.05, allocations: 0 / 4.468 GB, free: 58.34 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008153/11.06, allocations: 3.465 MB / 4.471 GB, free: 54.79 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02549/11.08, allocations: 8.998 MB / 4.48 GB, free: 45.65 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.052e-05/11.08, allocations: 8 kB / 4.48 GB, free: 45.64 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003854/11.09, allocations: 0.632 MB / 4.481 GB, free: 45.01 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005752/11.09, allocations: 92.77 kB / 4.481 GB, free: 44.91 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006738/11.09, allocations: 87.92 kB / 4.481 GB, free: 44.83 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002173/11.09, allocations: 2.174 MB / 4.483 GB, free: 42.49 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/11.09, allocations: 0 / 4.483 GB, free: 42.49 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01544/11.11, allocations: 6.039 MB / 4.489 GB, free: 36.35 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004815/11.11, allocations: 1.093 MB / 4.49 GB, free: 35.23 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002329/11.11, allocations: 56 kB / 4.49 GB, free: 35.18 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005658/11.12, allocations: 335.3 kB / 4.49 GB, free: 34.85 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007966/11.12, allocations: 185.9 kB / 4.491 GB, free: 34.66 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008718/11.12, allocations: 127.9 kB / 4.491 GB, free: 34.54 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.006892/11.13, allocations: 2.789 MB / 4.493 GB, free: 31.77 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.132e-06/11.13, allocations: 4 kB / 4.493 GB, free: 31.77 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0165/11.14, allocations: 2.474 MB / 4.496 GB, free: 29.29 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.00621/11.15, allocations: 1.684 MB / 4.498 GB, free: 27.79 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.01758/11.17, allocations: 6.013 MB / 4.503 GB, free: 21.73 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.878e-05/11.17, allocations: 3.078 kB / 4.503 GB, free: 21.73 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.005233/11.17, allocations: 1.924 MB / 4.505 GB, free: 19.79 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01135/11.19, allocations: 2.048 MB / 4.507 GB, free: 17.78 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02532/11.21, allocations: 11.32 MB / 4.518 GB, free: 6.41 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004668/11.22, allocations: 3.147 MB / 4.521 GB, free: 3.23 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.009866/11.23, allocations: 2.031 MB / 4.523 GB, free: 1.191 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0018/11.23, allocations: 399.2 kB / 4.524 GB, free: 0.8008 MB / 1.167 GB Notification: Performance of SimCode: time 2.194e-06/11.23, allocations: 0 / 4.524 GB, free: 0.8008 MB / 1.167 GB Notification: Performance of Templates: time 0.948/12.17, allocations: 91.42 MB / 4.613 GB, free: 236.5 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.Concentrating.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.Concentrating.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.Concentrating -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.Concentrating_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_Examples_Concentrating.csv","../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.Concentrating.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches