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.263/2.263, allocations: 390.3 MB / 402.8 MB, free: 6.684 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.001103/0.001103, allocations: 188.3 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.638/1.638, allocations: 221.3 MB / 0.7915 GB, free: 5.406 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.001185/0.001185, allocations: 91.89 kB / 0.9317 GB, free: 5.703 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.461e-05/3.509e-05, allocations: 0 / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.3329, allocations: 143 MB / 1.219 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.609/6.942, allocations: 2.2 GB / 3.418 GB, free: 86.72 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002774/6.942, allocations: 91.95 kB / 3.418 GB, free: 86.63 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.637/10.58, allocations: 0.9413 GB / 4.36 GB, free: 58.96 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.273e-06/10.58, allocations: 0 / 4.36 GB, free: 58.96 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.00086/10.58, allocations: 127.9 kB / 4.36 GB, free: 58.83 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.01424/10.59, allocations: 4.312 MB / 4.364 GB, free: 54.45 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/10.59, allocations: 8.031 kB / 4.364 GB, free: 54.45 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008151/10.6, allocations: 1.18 MB / 4.365 GB, free: 53.26 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01395/10.62, allocations: 5.495 MB / 4.371 GB, free: 47.7 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002942/10.62, allocations: 283.4 kB / 4.371 GB, free: 47.42 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001551/10.62, allocations: 380 kB / 4.371 GB, free: 47.05 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0106/10.63, allocations: 5.066 MB / 4.376 GB, free: 41.82 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.878e-05/10.63, allocations: 11.84 kB / 4.376 GB, free: 41.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004865/10.63, allocations: 167.9 kB / 4.376 GB, free: 41.64 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001247/10.63, allocations: 187.2 kB / 4.376 GB, free: 41.46 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007217/10.64, allocations: 4.643 MB / 4.381 GB, free: 36.81 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.03118/10.67, allocations: 19.65 MB / 4.4 GB, free: 16.51 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00429/10.67, allocations: 3.292 MB / 4.403 GB, free: 13.22 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001978/10.67, allocations: 1.673 MB / 4.405 GB, free: 11.54 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001632/10.68, allocations: 1.857 MB / 4.407 GB, free: 9.293 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002488/10.68, allocations: 1.856 MB / 4.409 GB, free: 7.387 MB / 1.167 GB Notification: Performance of pre-optimization done (n=267): time 4.268e-06/10.68, allocations: 0 / 4.409 GB, free: 7.387 MB / 1.167 GB Notification: Performance of matching and sorting (n=267): time 0.005704/10.68, allocations: 3.143 MB / 4.412 GB, free: 4.188 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.608e-05/10.68, allocations: 295.1 kB / 4.412 GB, free: 3.836 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004787/10.69, allocations: 3.488 MB / 4.415 GB, free: 376 kB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0004353/10.69, allocations: 73.7 kB / 4.416 GB, free: 296 kB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.7129/11.4, allocations: 1.977 MB / 4.417 GB, free: 232.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.00172/11.4, allocations: 0.9112 MB / 4.418 GB, free: 231.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002763/11.4, allocations: 55.25 kB / 4.418 GB, free: 231.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0002398/11.41, allocations: 425.8 kB / 4.419 GB, free: 231.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003067/11.41, allocations: 1.327 MB / 4.42 GB, free: 231.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003147/11.41, allocations: 2.015 MB / 4.422 GB, free: 230.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003103/11.41, allocations: 1.682 MB / 4.424 GB, free: 230.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.967e-05/11.41, allocations: 9.344 kB / 4.424 GB, free: 230.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=368) (initialization): time 0.008678/11.42, allocations: 3.919 MB / 4.428 GB, free: 230.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001336/11.42, allocations: 7.441 MB / 4.435 GB, free: 222.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.086e-05/11.42, allocations: 16.62 kB / 4.435 GB, free: 222.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000681/11.43, allocations: 118.4 kB / 4.435 GB, free: 222.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004097/11.43, allocations: 0.7962 MB / 4.436 GB, free: 222.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00202/11.43, allocations: 2.162 MB / 4.438 GB, free: 220.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005664/11.44, allocations: 0.5145 MB / 4.438 GB, free: 220.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009227/11.44, allocations: 147.6 kB / 4.438 GB, free: 220.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/11.44, allocations: 3.375 kB / 4.438 GB, free: 220.8 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009178/11.45, allocations: 3.578 MB / 4.442 GB, free: 220.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.426e-05/11.45, allocations: 17.03 kB / 4.442 GB, free: 220.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000729/11.45, allocations: 115.7 kB / 4.442 GB, free: 220.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005115/11.45, allocations: 0.7915 MB / 4.443 GB, free: 220.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0021/11.46, allocations: 1.559 MB / 4.444 GB, free: 219.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005351/11.46, allocations: 489.2 kB / 4.445 GB, free: 219.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006217/11.46, allocations: 146.1 kB / 4.445 GB, free: 219.3 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 (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.001066/11.46, allocations: 289.8 kB / 4.445 GB, free: 219.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001241/11.46, allocations: 388.8 kB / 4.446 GB, free: 219 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008631/11.47, allocations: 3.962 MB / 4.45 GB, free: 218.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.939e-05/11.47, allocations: 27.97 kB / 4.45 GB, free: 218.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/11.47, allocations: 0 / 4.45 GB, free: 218.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005453/11.48, allocations: 3.083 MB / 4.453 GB, free: 218.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01812/11.5, allocations: 8.628 MB / 4.461 GB, free: 217.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.17e-05/11.5, allocations: 1.672 kB / 4.461 GB, free: 217.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0034/11.5, allocations: 0.6296 MB / 4.462 GB, free: 217.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006032/11.5, allocations: 92.77 kB / 4.462 GB, free: 217.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003205/11.5, allocations: 90.03 kB / 4.462 GB, free: 217.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00182/11.5, allocations: 2.164 MB / 4.464 GB, free: 215.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/11.5, allocations: 1.719 kB / 4.464 GB, free: 215.9 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01237/11.51, allocations: 5.463 MB / 4.469 GB, free: 215.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004442/11.52, allocations: 1.091 MB / 4.47 GB, free: 215 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001919/11.52, allocations: 64.78 kB / 4.47 GB, free: 215 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005837/11.53, allocations: 333.1 kB / 4.471 GB, free: 215 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008195/11.53, allocations: 176 kB / 4.471 GB, free: 215 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007498/11.53, allocations: 129 kB / 4.471 GB, free: 215 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.007804/11.54, allocations: 2.754 MB / 4.474 GB, free: 214.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.783e-06/11.54, allocations: 2.375 kB / 4.474 GB, free: 214.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.01504/11.55, allocations: 2.464 MB / 4.476 GB, free: 214.7 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 (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.005489/11.56, allocations: 1.66 MB / 4.478 GB, free: 214.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.01352/11.57, allocations: 5.554 MB / 4.483 GB, free: 214.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.217e-05/11.57, allocations: 4.516 kB / 4.483 GB, free: 214.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.003526/11.57, allocations: 1.744 MB / 4.485 GB, free: 214 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01128/11.59, allocations: 2.037 MB / 4.487 GB, free: 214 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01963/11.61, allocations: 7.983 MB / 4.495 GB, free: 212.5 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003907/11.61, allocations: 3.15 MB / 4.498 GB, free: 211.7 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.01351/11.62, allocations: 3.013 MB / 4.501 GB, free: 211.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002027/11.62, allocations: 318.2 kB / 4.501 GB, free: 211.7 MB / 1.167 GB Notification: Performance of SimCode: time 1.243e-06/11.62, allocations: 3.938 kB / 4.501 GB, free: 211.7 MB / 1.167 GB Notification: Performance of Templates: time 0.1553/11.78, allocations: 99.57 MB / 4.598 GB, free: 206.7 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